- 博客(2)
- 收藏
- 关注
原创 (java)快速排序 - - - -14行最精简版!!!
快速排序是一种十分快的排序,平均时间复杂度达到了O(n) 接下来我用14行代码实现了快排 public static void quickSort(int[] a,int left,int right){ if(right-left<1) return; int temp=a[left],min=left,max=right; while(left<right){ ...
2020-02-12 21:47:56
345
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人