Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmzuo/algorithm-journey
/ up
Method
up
src/class194/Code08_Tourists1.java:154–156 ·
view source on GitHub ↗
(int i)
Source
from the content-addressed store, hash-verified
152
}
153
154
public
static
void
up(
int
i) {
155
minv[i] = Math.min(minv[i << 1], minv[i << 1 | 1]);
156
}
157
158
public
static
void
build(
int
l,
int
r,
int
i) {
159
if
(l == r) {
Callers
2
build
Method · 0.95
update
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected