improve lc binary tree inorder traversal (iterative solution with
constant space)