← Microsoft questions
CodingHardReported in a candidate post, Jul 2025

Minimum cost to split 2N people between two cities

Filed under Microsoft

A company is planning to interview 2n people. You are given an array costs where costs[i] = [aCost_i, bCost_i] is the cost of flying the i-th person to city A and to city B. Return the minimum total…

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 Microsoft questions

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