摘要:
public class QuickSort { public static void quickSort(int[] arr,int left,int right){//定义分区函数,第一遍排序 if(left>right){//判断条件最重要!!!! return; } int i,j,key, 阅读全文
摘要:
package testCase; public class bubbleSort { public static void main(String[] args){ int[] arr = {6,3,8,2,9,1}; System.out.println("排序前数组为"); for(int n 阅读全文