Pergunta de entrevista da empresa Amazon

With a parent pointer for a binary tree, do an inorder traversal of the tree with a limited stack.