You are viewing a single comment's thread. Return to all comments →
I thought so too at fisrt, but this would not suit the first example they provide, where the lca of 4 and 6 is 3.
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 →
I thought so too at fisrt, but this would not suit the first example they provide, where the lca of 4 and 6 is 3.