Concept Flow - Count Inversions in Array
Start with array
Divide array into halves
Recursively count inversions in left half
Recursively count inversions in right half
Merge two halves while counting cross inversions
Sum left + right + cross inversions
Return total inversions
The array is split into halves recursively, counting inversions inside each half and across halves during merge, then sums all counts.
