MCPcopy 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

mainMethod · 0.95
delNumMethod · 0.45
computeMethod · 0.45
disconnectMethod · 0.45
allocateMethod · 0.45
removeIdMethod · 0.45

Calls 4

rankMethod · 0.95
removeMostLeftMethod · 0.95
upMethod · 0.95
maintainMethod · 0.95

Tested by

no test coverage detected