Update merge_sort.cpp (#2818)

Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
This commit is contained in:
jiya
2025-05-19 17:13:50 +05:30
committed by GitHub
parent c26eea874d
commit 3f6876f03f

View File

@@ -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>