Minimum travel time with wormholes
Filed under Samsung
The question
Calculate the minimum time to travel from a source to a destination in a 2D plane given several wormholes that provide shortcuts between specific coordinates.
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.