You are viewing a single comment's thread. Return to all comments →
why do you have return lca(root.right, v1,v2) as opposed to lca(root.right,v1,v2)?
Seems like cookies are disabled on this browser, please enable them to open this website
Binary Search Tree : Lowest Common Ancestor
You are viewing a single comment's thread. Return to all comments →
why do you have return lca(root.right, v1,v2) as opposed to lca(root.right,v1,v2)?