Given a binary search tree, write a function that displays the nodes at each level in order.
Anonymous
I knew what this question was designed to do (come up with an algorithm that was better than O(n^2)). I didn't know what the best run-time algorithm was, so I just started coding up the O(n^2) algorithm and said that I'll start here and see what can be improved.
Check out your Company Bowl for anonymous work chats.