Skip to content

Commit 7f736f5

Browse files
author
Joseph Luce
authored
Update 621_task_scheduler.md
1 parent 82b3386 commit 7f736f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/medium/621_task_scheduler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
This question requires a greedy algothrim.
1010
We want to use the task that occurs the most first so we can reduce the amount of idle time there is.
11-
With that, a heap can help us find those set of tasks.
11+
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.
1414
If you had an input will many tasks that occur the same amount of times and one that occurs many times.

0 commit comments

Comments
 (0)