mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-01 17:52:40 +08:00
Update merge_sort.cpp (#2818)
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,10 @@
|
||||
* Merge Sort is an efficient, general purpose, comparison
|
||||
* based sorting algorithm.
|
||||
* Merge Sort is a divide and conquer algorithm
|
||||
*
|
||||
* Time Complexity: O(n log n)
|
||||
* It is same for all best case, worst case or average case
|
||||
* Merge Sort is very efficient when for the small data.
|
||||
* In built-in sort function merge sort along with quick sort is used.
|
||||
*/
|
||||
#include <iostream>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user