307. Range Sum Query - Mutable
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.
The update(i, val) function
modifies nums by updating the
element at index i to val.
Examp
原创
2017-06-17 09:00:34 ·
286 阅读 ·
0 评论