Skip to content

Commit 486700e

Browse files
committed
LRU Cache update
1 parent 80670ec commit 486700e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Sprint-2/implement_lru_cache/lru_cache.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def _add_to_head(self, node):
5050
def get(self, key):
5151
if key not in self.cache:
5252
return None
53-
5453
# Move key to the end (most recently used)
5554
value = self.cache.pop(key)
5655
self.cache[key] = value

0 commit comments

Comments
 (0)