Quantcast interview question

Level-order tree traversal