F# – counting inversions

This is a F# implementation of the fast algorithm to count the number of inversions in an array, outlined in the Algorithms : Design and Analysis Part 1 course on Coursera.