Binary Search Tree : Lowest Common Ancestor

  • + 0 comments

    consider this case: Tree size 3 and its contents are 4,2,1 and search for 2 and 1. As per correct solution provided, the output is returning as 2 but it should be 4 right?