MCPcopy Create free account
hub / github.com/algorithmzuo/algorithm-journey / rank

Method rank

src/class148/FollowUp1.java:149–151  ·  view source on GitHub ↗
(int num)

Source from the content-addressed store, hash-verified

147 }
148
149 public static int rank(int num) {
150 return small(head, num) + 1;
151 }
152
153 public static int small(int i, int num) {
154 if (i == 0) {

Callers 2

removeMethod · 0.95
mainMethod · 0.95

Calls 1

smallMethod · 0.95

Tested by

no test coverage detected