mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-30 14:13:44 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
ada767d31b
commit
0018a8ed26
|
@ -76,5 +76,6 @@ class PersistentSegmentTree:
|
|||
if left <= start and right >= end:
|
||||
return node.value
|
||||
mid = (start + end) // 2
|
||||
return (self._query(node.left, start, mid, left, right) +
|
||||
self._query(node.right, mid + 1, end, left, right))
|
||||
return self._query(node.left, start, mid, left, right) + self._query(
|
||||
node.right, mid + 1, end, left, right
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user