Skip to content

Commit 3f6876f

Browse files
Update merge_sort.cpp (#2818)
Co-authored-by: realstealthninja <[email protected]>
1 parent c26eea8 commit 3f6876f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sorting/merge_sort.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
* Merge Sort is an efficient, general purpose, comparison
1212
* based sorting algorithm.
1313
* Merge Sort is a divide and conquer algorithm
14-
*
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.
1518
*/
1619
#include <iostream>
1720

0 commit comments

Comments
 (0)