Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ Node
Class
Node
python/0146-lru-cache.py:1–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
Node:
2
def
__init__(self, key, val):
3
self.key, self.val = key, val
4
self.prev = self.next = None
5
6
7
class
LRUCache:
Callers
4
dfs
Method · 0.70
copyRandomList
Method · 0.70
__init__
Method · 0.70
put
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected