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

Method down

src/class161/Code01_HLD1.java:188–194  ·  view source on GitHub ↗
(int i, int ln, int rn)

Source from the content-addressed store, hash-verified

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

Callers 2

addMethod · 0.95
queryMethod · 0.95

Calls 1

lazyMethod · 0.95

Tested by

no test coverage detected