mark presence of each character as 0 in the hash table ' present [ ] '
int [ ] present = new int [ MAX_CHAR ] ; for ( int i = 0 ; i < MAX_CHAR ; i ++ ) { present [ i ] = 0 ; } int l1 = str1 . Length ; int l2 = str2 . Length ;