摘要:
public static void BubbleSort(int[] data) { int temp=0; for(int i=0;idata[j]) { temp=data[j]; data[j]=data[j-1]; data[j-1]=temp; } } } } public static void BubbleSort(int[] data) { int temp=0; bool IsChange=true; for(int i=0;idata[j]) { IsChange=true; temp=data[... 阅读全文