Neetcode Spaced Repetition System

235. Lowest Common Ancestor of a Binary Search Tree

MediumBlind 75

Trees

Optimal Complexity

Time

O(h)

Space

O(h)

Start First Attempt
Lowest Common Ancestor of a Binary Search Tree — NeetcodeSRS