We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82b3386 commit 7f736f5Copy full SHA for 7f736f5
leetcode/medium/621_task_scheduler.md
@@ -8,7 +8,7 @@
8
9
This question requires a greedy algothrim.
10
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.
+With that, a max heap can help us find those set of tasks.
12
13
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.
0 commit comments