Amazon | OA | Binary Tree creation and finding LCA
Anonymous User
362

Given array of numbers. Create Binary Search Tree in the order of given array numbers.
After creation of tree input will have 2 values, you were supposed to give LCA value of that 2 numbers from constructed BST.

Comments (1)