Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmzuo/algorithm-journey
/ remove
Method
remove
src/class148/FollowUp1.java:102–106 ·
view source on GitHub ↗
(int num)
Source
from the content-addressed store, hash-verified
100
}
101
102
public
static
void
remove(
int
num) {
103
if
(rank(num) != rank(num + 1)) {
104
head = remove(head, num);
105
}
106
}
107
108
public
static
int
remove(
int
i,
int
num) {
109
if
(key[i] < num) {
Callers
6
main
Method · 0.95
delNum
Method · 0.45
compute
Method · 0.45
disconnect
Method · 0.45
allocate
Method · 0.45
removeId
Method · 0.45
Calls
4
rank
Method · 0.95
removeMostLeft
Method · 0.95
up
Method · 0.95
maintain
Method · 0.95
Tested by
no test coverage detected