LearnHowToThink】的更多相关文章

一.BubbleSort and XListview 1.BubbleSort (1)analysis traverse.compare.exchange.cycle.optimize strategy loop outside times n-1 loop inside times n-i-1 it reduces 1 next cycle (2)code: void BubbleSort(int arr[],int n) {     int i,j,temp;     for(i=0;i<n…