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

Method delAns

src/class185/Code07_HideSeek1.java:314–318  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

312 }
313
314 public static void delAns(int x) {
315 if (sonMax[x].size() >= 2) {
316 maxDist.del(sonMax[x].first() + sonMax[x].second());
317 }
318 }
319
320 public static void on(int x) {
321 delAns(x);

Callers 2

onMethod · 0.95
offMethod · 0.95

Calls 4

firstMethod · 0.80
secondMethod · 0.80
sizeMethod · 0.45
delMethod · 0.45

Tested by

no test coverage detected