To store the maximum value of the number of elements in arr2 [ ] which are smaller than or equal to some element of arr1 [ ]
int maximumFreq = 0 ; for ( int i = 0 ; i < m ; i ++ ) maximumFreq = max ( maximumFreq , hash [ arr1 [ i ] ] ) ;