Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmzuo/algorithm-journey
/ add
Method
add
src/class148/FollowUp1.java:81–83 ·
view source on GitHub ↗
(int num)
Source
from the content-addressed store, hash-verified
79
}
80
81
public
static
void
add(
int
num) {
82
head = add(head, num);
83
}
84
85
public
static
int
add(
int
i,
int
num) {
86
if
(i == 0) {
Callers
10
main
Method · 0.95
near1
Method · 0.45
random
Method · 0.45
morrisPreorder
Method · 0.45
morrisInorder
Method · 0.45
collect
Method · 0.45
dijkstra
Method · 0.45
bfs
Method · 0.45
dijkstra
Method · 0.45
dijkstra
Method · 0.45
Calls
2
up
Method · 0.95
maintain
Method · 0.95
Tested by
no test coverage detected