mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-08 15:14:01 +08:00
Update sorting/count_inversions.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -140,7 +140,7 @@ uint64_t mergeSort(T* arr, T* temp, uint64_t left, uint64_t right) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Funtion countInversion() returns the number of inversion
|
||||
* @brief Function countInversion() returns the number of inversion
|
||||
* present in the input array. Inversions are an estimate of
|
||||
* how close or far off the array is to being sorted.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user