MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / mergeSort

Function mergeSort

sorting/merge_sort.cpp:82–89  ·  view source on GitHub ↗

* Merge sort is a divide and conquer algorithm, it divides the * input array into two halves and calls itself for the two halves * and then calls merge() to merge the two halves * * @param arr - array to be sorted * @param l - left index or start index of array * @param r - right index or end index of array * */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 1

mergeFunction · 0.70

Tested by

no test coverage detected