Skip to content

Commit 5696129

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c69a531 commit 5696129

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎data_structures/binary_tree/persistent_segment_tree.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def _build(self, arr: list[int], start: int, end: int) -> Node:
3636
right = self._build(arr, mid + 1, end)
3737
return Node(value=left.value + right.value, left=left, right=right)
3838

39-
4039
def update(self, version: int, index: int, value: int) -> int:
4140
"""
4241
Updates the value at the given index and returns the new version.

0 commit comments

Comments
 (0)