mark presence of each character as 0 in the hash table ' present [ ] '
var present = Array ( MAX_CHAR ) ; for ( var i = 0 ; i < MAX_CHAR ; i ++ ) present [ i ] = 0 ; var l1 = str1 . length ; var l2 = str2 . length ;