F5 interview question

Print out a binary tree by level

Interview Answer

Anonymous

23 Jan 2015

Use an aux queue, insert the root node, then iterate over the queue, while inserting the leaves.