Question d’entretien chez Amazon

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