As mentioned in the question ,need to find total number of (i,j) pairs in array such that As mentioned in the question ,need to find tota
As mentioned in the question ,need to find total number of (i,j) pairs in array such that As mentioned in the question ,need to find tota