Reconstruct tree from inorder and postorder | NVIDIA Interview Question