LeetCode: 1029-Two City Scheduling 解題紀錄
Last Updated on 2022-03-25 by Clay
題目
A company is planning to interview 2n
people. Given the array costs
where costs[i] = [aCosti, bCosti]
, the cost of flying the ith
person to city a
is aCosti
, and the cost of flying the ith
person to city b
is bCosti
.