← Goldman Sachs questions

Shortest path to collect all flowers visiting each shop once

Filed under Goldman Sachs

Find the shortest path from a start point to an office, visiting exactly one shop for each required flower type. The graph contains nodes (shops) and edges (distances).

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 Goldman Sachs questions

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