CodingReported in a candidate post, Oct 2024
Shortest Path in Gift Transfer Chain
Filed under Shell
The question
Find the shortest path between two specific nodes (John and Dave) in an undirected graph, representing the minimum number of relatives needed to transfer a gift.
No write-up yet. Related questions below have one.
Related Shell questions
Collected from public candidate posts and coding forums. Updated Nov 2026.