Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmzuo/algorithm-journey
/ conflict
Method
conflict
src/class197/Code05_Boolean1.java:85–87 ·
view source on GitHub ↗
(int x)
Source
from the content-addressed store, hash-verified
83
}
84
85
public
static
boolean conflict(
int
x) {
86
return
find(x) == find(other(x));
87
}
88
89
// 整体二分,计算每个位置i的first[i]信息
90
public
static
void
compute(
int
ql,
int
qr,
int
vl,
int
vr) {
Callers
1
compute
Method · 0.95
Calls
2
find
Method · 0.95
other
Method · 0.95
Tested by
no test coverage detected