Under what condition the number of inversions in an array are maximum?
Under what condition the number of inversions in an array are maximum? Correct Answer when the array is reverse sorted
Number of inversions in an array are maximum when the given array is reverse sorted. As the necessary condition for an inversion is arr>arr and i
মোঃ আরিফুল ইসলাম
Feb 20, 2025