update
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@
|
||||
|
||||
### 归并排序merge
|
||||
|
||||
分治算法,必然用到递归
|
||||
分治算法(divide-and-conquer),必然用到递归 ;
|
||||
|
||||
2个有序数组的合并操作是O(n)的复杂度
|
||||
因此我们可以将无序的数组,分成2个子数组分别排序,然后再merge,依次类推
|
||||
|
||||
Reference in New Issue
Block a user