摘要: ##1.选择排序 public void selectSort(int a[]){ for(int i=0;i<a.length;i++){ int min=i; for(int j=i;j<a.length;j++){ if(a[min]>a[j]) min=j; } int temp=a[i]; 阅读全文
posted @ 2021-02-25 19:20 Muise 阅读(51) 评论(0) 推荐(0)
摘要: ##1.题目 class Solution { public List<List<Integer>> combinationSum(int[] candidates, int target) { List<List<Integer>> r=new ArrayList<>(); HashSet<Lis 阅读全文
posted @ 2020-09-09 15:22 Muise 阅读(59) 评论(0) 推荐(0)