Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
on
Method · 0.95
off
Method · 0.95
Calls
4
first
Method · 0.80
second
Method · 0.80
size
Method · 0.45
del
Method · 0.45
Tested by
no test coverage detected