Skip to content

Commit 749d09f

Browse files
committed
Update 621
1 parent d951e03 commit 749d09f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
| 593 | [Valid Square](src/593.valid-square.py) | Medium | O(1) | O(1) | Math | | |
260260
| 605 | [Can Place Flowers](src/605.can-place-flowers.py) | Easy | O(N) | O(1) | Array, Greedy | | |
261261
| 611 | [Valid Triangle Number](src/611.valid-triangle-number.py) | Medium | O(N^2) | O(1) | Array, Two Pointers, Binary Search, Greedy, Sorting | | |
262-
| 621 | [Task Scheduler](src/621.task-scheduler.py) | Medium | O(N) | O(1) | Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting | | |
262+
| 621 | [Task Scheduler](src/621.task-scheduler.py) | Medium | O(N) | O(1) | Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting | Greedy | |
263263
| 622 | [Design Circular Queue](src/622.design-circular-queue.py) | Medium | O(1) | O(1) | Design, Queue | | |
264264
| 623 | [Add One Row to Tree](src/623.add-one-row-to-tree.py) | Medium | O(N) | O(N) | Tree | | |
265265
| 624 | [Maximum Distance in Arrays](src/624.py) | Easy | O(N) | O(1) | Hash Table, Array, Premium | | 🔒 |

src/621.task-scheduler.py

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
# @lc code=start
88
# TAGS: Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting
9+
# REVIEWME: Greedy
10+
11+
import collections
912

1013

1114
class Solution:

0 commit comments

Comments
 (0)