Adaptive practice

Meet your next edge.

We’ll choose one problem that targets the concept you’re closest to mastering.

Recommended for you

Based on recent attempts in trees and recursion
MEDIUM
BINARY TREE · RECURSION

Lowest Common Ancestor of a Binary Tree

Find the lowest node in a binary tree that has two given nodes as descendants. A good next step for your recursive base cases.

15 min3 hints available42% topic mastery
Try this problem →