solve binary tree inorder traversal, merge sorted array and remove duplicates from sorted list 2