Fundamentals
/
Segment Tree Introduction
⏸
00:00
↻
← Prev
Next →
▶
Question
Implement a SegmentTree on an array of numbers supporting update(index, value) and rangeSum(left, right) (right-exclusive).
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
10