Khan.randRange(4, 6) findInversionsPRO.initJSAV(A) findInversionsPRO.genAnswer()
How many inversions are in the following array?

CorrectAnswer

To count the number of inversions look at each value and count the number of times that a bigger value is to its left.

The total number of inversions is CorrectAnswer