CodingReported in a candidate post, Apr 2021
Longest path in a tree
Filed under NCR Corporation
The question
Write code to find the longest path in a given tree.
No write-up yet. Related questions below have one.
Related NCR Corporation questions
Collected from public candidate posts and coding forums. Updated Nov 2026.