会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
small海苔
博客园
首页
新随笔
联系
管理
订阅
2019年7月1日
手写冒泡排序【复习】
摘要: public class bubbleSort { //冒泡排序 public bubbleSort(){ int array[]={49,38,65,97,76,13,27,49}; int temp=0; for(int i=0;iarray[j+1]){ //把大的值交换到后面 temp=array[j]; ...
阅读全文
posted @ 2019-07-01 21:39 small海苔
阅读(75)
评论(0)
推荐(0)
公告