Amazon interview question

Traverse a binary tree level by level.

Interview Answer

Anonymous

Jul 23, 2014

It was difficult for me because I was in the middle of taking a data structures course. I would consider this a fairly easy question though once you have learned about binary trees. A quick Google search should come up with many solutions.

2