ctci 4.1

Check balanced binary tree. Both O(N) and O(N2) algo.
Fixed next in order
ctci 4.2

bfs implementation using queue and dfs using stack