Skip to content
RED SAGSkills
hard20 pts · first answer countsgraphssegment-tree

Range updates on a segment tree

You must add ₹100 to every day in a range [l, r] and also answer range sums, many times. What keeps both at O(log n)?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions