会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Muise
博客园
首页
新随笔
联系
订阅
管理
2021年2月25日
几种排序算法java实现
摘要: ##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)
2020年9月9日
组合数问题
摘要: ##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)
公告