...

/

Challenge: Least Common Ancestor

Challenge: Least Common Ancestor

Let’s find the least common ancestor between two nodes in a BST.

Problem

In a BST, find the least common ancestor (LCA) between the ...