(This question is a variation of the LeetCode question 253. Meeting Rooms II. If you haven't completed that question yet, it is recommended to solve it first.)
A resource estimation service needs to determine how many machines are required to run a set of tasks. Each task occupies exactly one machine for the duration of its time interval, and a machine can run at most one task at any given time.
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
Output
Expected