Maintain Inclusive Array Sums across Point Assignments
Company: Amazon
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Other
Overview: Maintain Inclusive Array Sums across Point Assignments. Implement NumArray(nums), update(index,val) assigning the new value, and sumRange(left,right) returning the inclusive zero-based range sum. Calls share persiste