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

Method clear

src/class195/Code03_Road1.java:156–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 public static void clear() {
157 for (int i = 1; i <= cntt; i++) {
158 head[i] = 0;
159 }
160 cntg = cntt = 0;
161 heap.clear();
162 }
163
164 public static void main(String[] args) throws Exception {
165 FastReader in = new FastReader(System.in);

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected