DoorDash interview question

Leetcode 1235. Maximum Profit in Job Scheduling