1.

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

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
Answer» B. when the array is reverse sorted


Discussion

No Comment Found