2016年10月24日

java冒泡排序代码

摘要: 1 public class MaoPaoSort { 2 3 /** 4 * @param args 5 */ 6 public static void main(String[] args) { 7 int a[] = { 10, 8, 12, 5, 4 }; 8 int temp; 9 ... 阅读全文

posted @ 2016-10-24 14:39 一路致金 阅读(175) 评论(0) 推荐(0) 编辑

java直接插入排序代码

摘要: 1 public class InsertSort { 2 3 /** 4 * 直接插入排序 5 */ 6 public static void main(String[] args) { 7 int a[] = { 10, 8, 14, 9,17,3,15 }; 8 int temp = 0; 9 ... 阅读全文

posted @ 2016-10-24 14:37 一路致金 阅读(288) 评论(0) 推荐(0) 编辑

java冒泡排序代码

摘要: 1 public class MaoPaoSort { 2 3 /** 4 * @param args 5 */ 6 public static void main(String[] args) { 7 int a[] = { 10, 8, 12, 5, 4 }; 8 int temp; 9 ... 阅读全文

posted @ 2016-10-24 14:04 一路致金 阅读(339) 评论(0) 推荐(0) 编辑

导航