CodingMedium
Find LCA in binary tree given path strings array
Filed under Mastercard
The question
Find the Lowest Common Ancestor of a binary tree when given a path array containing path strings (e.g., [L, R, LL, LR]) and corresponding node values.
No write-up yet. Related questions below have one.
Related Mastercard questions
Collected from public candidate posts and coding forums. Updated Nov 2026.