Given a binary search tree, produce an in-order traversal without recursion.
Anonymous
Basically maintain a stack by yourself. Initially push the leftmost edge into the stack. Whenever the stack is not empty, pop an element, append it to the resulting array and push the leftmost edge of its right child.
Check out your Company Bowl for anonymous work chats.