For example, consider the dataset . It has two inversions: and . To sort the array, we must perform the following two swaps to correct the inversions: Given datasets, print the number of inversions that must be swapped to sort each dataset on a new line. Function Description Complete the ...