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.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy