Skip to content

Commit 44ce19e

Browse files
authored
Update merge_sort.cpp
1 parent 136e6c0 commit 44ce19e

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)