Implemented inorder traversal of the binary tree using iteration (without recursion)