Concept Flow - Count Inversions in Array
Start with array
Divide array into two halves
Recursively count inversions in left half
Recursively count inversions in right half
Merge two halves while counting split inversions
Sum left + right + split 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.