LeetCode
Binary Search Tree Iterator
Click
here
for an explanation.