This modules provides a data structure SegTree, the implementation of Segment Tree. This allows you that finding the monoid sum for the range in O(log n) time complexity.
SegTree
O(log n)
Generated using TypeDoc
This modules provides a data structure
SegTree
, the implementation of Segment Tree. This allows you that finding the monoid sum for the range inO(log n)
time complexity.