CLRS 2-4 inversions