Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmzuo/algorithm-journey
/ insert
Method
insert
src/class035/Code07_AllO1.java:25–30 ·
view source on GitHub ↗
(Bucket cur, Bucket pos)
Source
from the content-addressed store, hash-verified
23
}
24
25
private
void
insert(Bucket cur, Bucket pos) {
26
cur.next.last = pos;
27
pos.next = cur.next;
28
cur.next = pos;
29
pos.last = cur;
30
}
31
32
private
void
remove(Bucket cur) {
33
cur.last.next = cur.next;
Callers
2
inc
Method · 0.95
dec
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected