Skip to content

Commit 573a923

Browse files
author
Joseph Luce
authored
Update 621_task_scheduler.md
1 parent 6a3efab commit 573a923

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

leetcode/medium/621_task_scheduler.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ We want to use the task that occurs the most first so we can reduce the amount o
1111
With that, a max heap can help us find those set of tasks.
1212

1313
However, there is one tricky edge case that I've noted below.
14-
If you had an input will many tasks that occur the same amount of times and one that occurs many times.
15-
Its actually bad to start all the tasks in the first go around.
16-
Its better to interweave them between the one task that occurs many times to reduce idle times.
14+
If we had an input with many tasks that occur the same amount of times and one that occurs many times.
15+
It is actually bad to start all the tasks in the first go around.
16+
Better to interweave them between the one task that occurs many times to reduce idle times.
1717

1818
**Important edge case to consider**
1919
```

0 commit comments

Comments
 (0)