Algorithms Assignments of "Algorithms: Design and Analysis" Week1 Count the number of inversions in an array. Uses the MergeSort algorithm modified for counting inversions.