Page 1 of 1

Under what condition the number of inversions in an array are minimum?

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) when the array is sorted
b) when the array is reverse sorted
c) when the array is half sorted
d) depends on the given array