算法
小红Lyons
小菜鸟一个,编程广识天下友
展开
-
基于java的简单排序(下)
各种排序public class Demo { public static void main(String[] args) { int[] a = { 4, 2, 1, 6, 3, 6, 0, -5, 1, 1 }; int[] b = { 1, 2, 3, 4, 5, 6, 7 }; // bubbleSort(a); ...原创 2018-08-20 22:23:05 · 148 阅读 · 0 评论 -
基于java的简单排序(上)
快排10个数public class QuickSortTest { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int[] arr = {1,9,3,12,7,8,3...原创 2018-08-20 22:24:16 · 143 阅读 · 0 评论