We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26eea8 commit 3f6876fCopy full SHA for 3f6876f
sorting/merge_sort.cpp
@@ -11,7 +11,10 @@
11
* Merge Sort is an efficient, general purpose, comparison
12
* based sorting algorithm.
13
* Merge Sort is a divide and conquer algorithm
14
- *
+ * Time Complexity: O(n log n)
15
+ * It is same for all best case, worst case or average case
16
+ * Merge Sort is very efficient when for the small data.
17
+ * In built-in sort function merge sort along with quick sort is used.
18
*/
19
#include <iostream>
20
0 commit comments