← Samsung questions

Shortest path to visit all customers and return home (Traveling Salesperson)

Filed under Samsung

Given coordinates for an office, Mr. Kim's home, and N customers (4 < N < 11), find the shortest path that starts at the office, visits all N customers exactly once, and returns home. Distances are…

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.