Schedule Tasks on Minimum Machines
Try to solve the Schedule Tasks on Minimum Machines problem.
We'll cover the following
Statement
We are given an input array, tasks
, which contains the start and end times of tasks. Your task is to find the minimum number of machines required to complete these tasks.
Constraints:
-
tasks.length
-
tasks.length
Examples
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy