hash table to store frequencies of each character in ' str '
int [ ] char_freq = new int [ SIZE ] ; int nv = 0 , nc = 0 ; String vstr = " " , cstr = " " ; int l = str . Length ; for ( int i = 0 ; i < l ; i ++ ) { char ch = str [ i ] ;