Commit Graph

2 Commits

Author SHA1 Message Date
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