← Back to companies
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/$
You are given a list of tasks, each represented by a start time and an end time. Each task must be executed on a machine, and a machine can only run one task at a time. Your goal is to determine the minimum number of machines required so that no two tasks overlap on the same machine. In other words, find the maximum number of tasks that are running concurrently at any point in time.