Domanda di colloquio di Amazon

How would you traverse a tree without recursion(inorder and post-order)