What does the number of inversions in an array indicate?
What does the number of inversions in an array indicate? Correct Answer measure of how close or far the array is from being sorted
The number of inversions in an array indicates how close or far the array is from being completely sorted. The array is sorted if the number of inversions are 0.