Stores count of pairs of equal element by removing arr [ i ]
int pairs_after_arr_i_removed = cntPairs + 1 - mp . get ( arr [ i ] ) ; System . out . print ( pairs_after_arr_i_removed + " ▁ " ) ; } return ; }