Inversion of array

ques : https://practice.geeksforgeeks.org/problems/inversion-of-array/0

code : https://ide.codingblocks.com/s/241286

one test case is not passing

hello @chaman9
use long long return type for both the functions i.e (merge , inversion_cnt )

thanks a lot… this worked