Count Inversions Gfg Solution