会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
我不想一直当菜鸟
博客园
首页
新随笔
联系
订阅
管理
2022年4月27日
力扣303(java)-区域和检索-数组不可变(简单)
摘要: 题目: 给定一个整数数组 nums,处理以下类型的多个查询: 计算索引 left 和 right (包含 left 和 right)之间的 nums 元素的 和 ,其中 left <= right实现 NumArray 类: NumArray(int[] nums) 使用数组 nums 初始化对象i
阅读全文
posted @ 2022-04-27 10:43 我不想一直当菜鸟
阅读(56)
评论(0)
推荐(0)
编辑