2021年9月24日

摘要: 地址 https://leetcode-cn.com/problems/range-sum-query-mutable/ 给你一个数组 nums ,请你完成两类查询,其中一类查询要求更新数组下标对应的值,另一类查询要求返回数组中某个范围内元素的总和。 实现 NumArray 类: NumArray( 阅读全文
posted @ 2021-09-24 11:31 itdef 阅读(29) 评论(0) 推荐(0) 编辑

导航