Task: Given an array of size N, find the inversion count of an array. Example: Input: 1 5 2 4 1 3 5 Output: 3 Here is the Code: Program in C++: #include<iostream> #include<bits/stdc++.h> using namespace std; long long int c; void count(long long int *arr,int l,int m,int r) { int n1=m-l+1; int n2=r-m; long long int a[n1],b[n2]; for(int i=0;i<n1;i++) { a[i]=arr[l+i]; } for(int j=0;j<n2;j++) { b[j]=arr[m+1+j]; } int i=0,j=0,k=l; while(i<n1&&j<n2) { if(a[i]<=b[j]) { arr[k]=a[i]; i++; ...