Shortest path visiting N customers and returning to office
Filed under Samsung
The question
Given the 2D coordinates of an office and N customers, find the total distance of the shortest path that starts at the office, visits all customers, and returns to the office using Manhattan distance.
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.