counting inversion for different arrays

count inversions if sorting rule is altered

Please donot ask for help for an ongoing contest also donot post your code anywhere in forum .

1 Like