← 返回 amazon 的题目列表Minimum Workers for Intervals
类型:online_judge
Given a list of intervals [start time, end time], calculate the minimum number of workers required to complete all tasks. Assume each task needs a full interval and workers can handle multiple non-overlapping tasks simultaneously.
Example
Input
[[1, 3], [2, 4], [3, 5]]