solulubeta
Sign in
Story Problems / Greedy
06.17 · Problem

Two-City Interview Trip

Medium Sort by cost difference Pro

This problem is part of solulu Pro

A company flies 2n candidates for interviews; exactly n go to city A and n go to city B. costs[i] = [a_i, b_i] is the price for candidate i to go to A or B. What is the minimum total travel cost?

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 71 of 94 · updated 2026-10-12