2.Read the number of elements and store them in an array. 3.Use a modified merge sort to count inversions: .Recursively split the array into halves and count inversions in each half. .While merging ...