Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/qiyuangong/leetcode
/ find
Function
find
python/706_Design_HashMap.py:57–64 ·
view source on GitHub ↗
(bucket, key)
Source
from the content-addressed store, hash-verified
55
56
57
def
find(bucket, key):
58
# find prev node of this key
59
node = bucket
60
prev = None
61
while
node is not None and node.key != key:
62
prev = node
63
node = node.next
64
return
prev
65
66
67
# Basic node in hash map
Callers
3
put
Method · 0.85
get
Method · 0.85
remove
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected