会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
feiqi3
博客园
首页
新随笔
联系
管理
订阅
2020年10月28日
咕咕咕第2天 做了俩简单题
摘要: 一维数组的动态和 public class Solution { public int[] RunningSum(int[] nums) { for(int i = 1;i<nums.Length;i++){ nums[i] +=nums[i-1]; } return nums; } } 我抬手就是
阅读全文
posted @ 2020-10-28 21:08 feiqi3
阅读(28)
评论(0)
推荐(0)
2020年10月23日
力扣第一天 : 两数之和
摘要: C#暴力解1:略 Dictionary方法:public int[] TwoSum(int[] nums, int target) { Dictionary<int, int> kkk = new Dictionary<int, int>(); for (int i = 0; i < nums.Le
阅读全文
posted @ 2020-10-23 23:32 feiqi3
阅读(41)
评论(0)
推荐(0)
公告