F5 interview question

Print out a binary tree by level

Interview Answer

Anonymous

Jan 23, 2015

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