MCPcopy 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

1class Node:
2 def __init__(self, key, val):
3 self.key, self.val = key, val
4 self.prev = self.next = None
5
6
7class LRUCache:

Callers 4

dfsMethod · 0.70
copyRandomListMethod · 0.70
__init__Method · 0.70
putMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected