HackerRank:Merge Sort: Counting Inversions Python3
题目Inanarray,,theelementsatindicesand(where)formaninversionif.Inotherwords,invertedelementsandareconsideredtobe"outoforder".Tocorrectaninversion,wecanswapadjacentelements.Forexample,considerthedataset.