Sollicitatievraag bij F5

Print out a binary tree by level

Antwoord op sollicitatievraag

Anoniem

23 jan 2015

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