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

Method down

src/class161/Code06_Tourism1.java:191–197  ·  view source on GitHub ↗
(int i)

Source from the content-addressed store, hash-verified

189 }
190
191 public static void down(int i) {
192 if (addTag[i] != 0) {
193 lazy(i << 1, addTag[i]);
194 lazy(i << 1 | 1, addTag[i]);
195 addTag[i] = 0;
196 }
197 }
198
199 public static void build(int l, int r, int i) {
200 if (l == r) {

Callers 2

addMethod · 0.95
queryMethod · 0.95

Calls 1

lazyMethod · 0.95

Tested by

no test coverage detected