Find nth Least Common Ancestor of two nodes in a binary tree
Filed under Bloomberg
The question
Find the nth Least Common Ancestor (LCA) of two nodes in a binary tree.
No write-up yet. Related questions below have one.
Related Bloomberg questions
Collected from public candidate posts and coding forums. Updated Nov 2026.