Quick Overview

Given a complete matrix of possibly asymmetric travel costs between up to 16 cities, return the minimum cost of a round trip that starts at city 0, visits every other city exactly once and returns to city 0. The problem tests exact optimization over subsets of cities within tight limits.

Minimum-Cost Round Trip Visiting Every City Once with Asymmetric Costs

Company: Goldman Sachs

Role: Quantitative Researcher

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Given a complete matrix of possibly asymmetric travel costs between up to 16 cities, return the minimum cost of a round trip that starts at city 0, visits every other city exactly once and returns to city 0. The problem tests exact optimization over subsets of cities within tight limits.

Read the full Goldman Sachs Quantitative Researcher interview experience this question came from

Minimum-Cost Round Trip Visiting Every City Once with Asymmetric Costs

Goldman Sachs • Quantitative Researcher

Loading…