← All problems
Medium · Trees
Lowest Common Ancestor of a Binary Search Tree
Find the deepest common ancestor of two search-tree nodes.
Full problem and submission ↗Find the deepest common ancestor of two search-tree nodes.
Full problem and submission ↗