← Samsung questions

Wormhole Problem

Filed under Samsung

Find the shortest path between two points in a plane containing multiple wormholes. Each wormhole has an entry point, an exit point, and a cost to traverse.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Samsung questions

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