
笔记
csnd_1001
这个作者很懒,什么都没留下…
展开
-
自用shell脚本
记录shell脚本原创 2022-07-03 19:38:02 · 241 阅读 · 0 评论 -
剑指Offer刷题笔记
3.寻找重复数字 public boolean findRepeatNum(int[] nums){ HashSet<Integer> set = new HashSet(); for (Integer i : nums){ if(set.contains(i)){ return true; }else{ set.add(i); } } return false; } 4.查找二维数组中的值 public boolean findNumInTrix(int[][原创 2022-04-26 00:43:20 · 956 阅读 · 0 评论