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 ba6edaa commit 3e7285eCopy full SHA for 3e7285e
leetcode/lru_cache/solution.py
@@ -3,7 +3,7 @@
3
4
class LRUCache:
5
# Space: O(capacity)
6
- def __init__(self, capacity: int):
+ def __init__(self, capacity: int) -> None:
7
self.capacity = capacity
8
self.cache: OrderedDict[int, int] = OrderedDict()
9
0 commit comments