Count Inversions | GFG Count Inversions Solution | Seaching and Sorting