educative.io

The question is not clear ,

This problem is not clear , what are the tasks ? how to find the minimum number of machines ? Any constraints ?

Or if you think question is clear the , sample test data and its explaination of answer is not clear.

Please revisit this!


Course: https://www.educative.io/collection/10370001/4651429556125696
Lesson: https://www.educative.io/collection/page/10370001/4651429556125696/5403946128769024

1 Like

Hello @Saurabh_Kukreja,

Thank you for sharing this feedback on this lesson. We’ll carefully review the lesson and consider any changes as suggested in your query. To resolve your confusion, the term “tasks” refers to activities or jobs that need to be scheduled. The input array, denoted as tasks, contains the start and end times of these tasks. The primary objective is to determine the minimum number of machines required to complete these tasks, implying that each task necessitates using a machine for execution.

Let’s consider a sample test case: tasks = [(1, 3), (2, 5), (4, 7)]. In this scenario, the goal is to find the minimum number of machines required to efficiently complete these tasks. Explaining the solution involves demonstrating how tasks can be scheduled on machines to minimize the number of machines used.

I hope this helps explain the exact purpose of the problem. Feel free to share further feedback and suggestions. We’d be happy to help. Thanks!

Happy learning!