Hash array to keep count of characters . Initially count of all charters is initialized to zero . .
let letters = new Array ( MAX_CHAR ) ; for ( let i = 0 ; i < MAX_CHAR ; i ++ ) { letters [ i ] = 0 ; }