A segment tree, the data structure which can query the monoid sum of items and update an element in O(log n).
O(log n)
Generated using TypeDoc
A segment tree, the data structure which can query the monoid sum of items and update an element in
O(log n)
.