A Solution to Leetcode 1029. Two City Scheduling
Problem statement
A company is planning to interview 2n people. Given the array costs where costs[i] = [aCost_i, bCost_i], the cost of flying the i-th person to city a is aCost_i, and the cost of flying the i-th person to city b is bCost_i.
Return th...
nhutnguyen.hashnode.dev3 min read