📅  最后修改于: 2022-03-11 14:52:46.387000             🧑  作者: Mango
代码示例1
public int[] runningSum(int[] nums) {
int len = nums.length;
for(int i = 1; i < len; i++){
nums[i] += nums[i-1];
}
return nums;
}