Iterative Post Order Traversal and Magic Block Interview Problem