Bloomberg logoBloomberg
Coding·60 minMembers

Minimum Cost Flight Split

Members only

Schedule exactly half of `n` people to fly to one city and the rest to another, minimizing the total flight cost. A classic Bloomberg-flavored greedy problem in disguise — most candidates start with b...

SWE
greedy
sorting
array
medium
Frequency
Single report
Last asked
2026-02-25
Stage
onsite-coding

Log in to continue reading the full content