#data-structures
Read more stories on Hashnode
Articles with this tag
If you don't know what is a segment tree or how to implement a segment tree that supports range updates, please refer to these two articles:...
A basic segment tree can efficiently make a range query over the input array and update a single value in the array. If you don't know how to...
A segment tree is a binary tree structure that is used to store information about intervals, or segments. It is one of the most powerful tree data...