Skip to content

Commit e352187

Browse files
committed
Update index.ts
1 parent ec1f8c2 commit e352187

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

range-sum-query-mutable/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export function change(
4949
return;
5050
}
5151
const mid = Math.floor((start + end) / 2);
52+
pushdown(node);
5253
if (!node.left || !node.right) {
5354
throw Error("node.left and node.right empty");
5455
}

0 commit comments

Comments
 (0)