CodingReported in a candidate post, Jul 2019
Print nodes at k distance or common path
Filed under Zilingo
The question
Print all nodes at distance k from a target node in a binary tree, or find the path common to two paths from the root to two given nodes.
No write-up yet. Related questions below have one.
Related Zilingo questions
Collected from public candidate posts and coding forums. Updated Nov 2026.