Commit Graph

5 Commits

Author SHA1 Message Date
Rakshit Raj
b51af5e8ba Update sorting/count_inversions.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-11-29 22:29:08 +05:30
Rakshit Raj
c381a07112 Update sorting/count_inversions.cpp
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2020-11-29 22:28:35 +05:30
Rakshit Raj
475af56058 Update sorting/count_inversions.cpp
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
2020-11-25 00:23:37 +05:30
Rakshit Raj
bc5278bdb5 Update count_inversions.cpp
- fixed template error on line 156
- an added test case for character array
- an added test case for list type double
2020-11-06 01:24:38 +05:30
Rakshit Raj
beccf24189 Create count_inversions.cpp
Counts the number of inversions in a list using merge sort. The number of Inversions in a list is the measure of the list's proximity to being sorted in ascending/increasing order.
2020-11-06 00:47:22 +05:30