Amazon Interview Question

binary search tree traversal lc