Pergunta de entrevista da empresa Bloomberg

A reworded version of the Two City Scheduling question on LeetCode.