Increase the frequency of current element in suffix
if ( suffixCount . has ( arr [ i ] ) ) { suffixCount . set ( arr [ i ] , suffixCount . get ( arr [ i ] ) + 1 ) ; } else { suffixCount . set ( arr [ i ] , 1 ) ; } }