会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
雲淡、風輕
博客园
首页
新随笔
联系
订阅
管理
2017年6月23日
选择、冒泡排序,二分查找法以及一些for循环的灵活运用
摘要: import java.util.Arrays;//冒泡排序 public class Test { public static void main(String[] args) { int[] array = { 31, 22, 15, 77, 52, 32, 18, 25, 16, 7 }; // 冒泡 --> 两两比较 --> 提取出最大的数 ...
阅读全文
posted @ 2017-06-23 19:56 雲淡、風輕
阅读(588)
评论(0)
推荐(0)
编辑
公告