You are viewing a single comment's thread. Return to all comments →
Please explain why assigning it as root works but when used as Node root ,iit fails the test case 2.
Binary Search Tree : Lowest Common Ancestor
You are viewing a single comment's thread. Return to all comments →
Please explain why assigning it as root works but when used as Node root ,iit fails the test case 2.