Actualités

Before building the Segment Tree, one must figure what needs to be stored in the Segment Tree's node?. For example, if the question is to find the sum of all the elements in an array from indices *L ...