Intact interview question

Print BST in-order using for loops instead of recursion

Interview Answer

Anonymous

13 Aug 2018

Use a stack that you populate over time and put it in a for loop. Conditions in for loop are to make sure the stack is not empty.