โ† Samsung questions

Minimum Time to Reach Destination with Wormholes

Filed under Samsung

The question

Find the minimum time to travel from a source (S) to a destination (D) given a spacecraft that can travel outside wormholes using Manhattan distance and can optionally use a set of bi-directional wormholes with given entry, exit, and travel times.

No write-up yet. Related questions below have one.

Related Samsung questions

Collected from public candidate posts and coding forums. Updated Nov 2026.