AlgoMaster Logo

Range Sum Query - Immutable

nums=[-2, 0, 3, -5, 2, -1],left=0,right=2
0 / 5
algomaster.io
Step:Start: add up nums[0..2] one element at a time