Pergunta de entrevista da empresa DoorDash

Leetcode 1235. Maximum Profit in Job Scheduling