CrimsonLogic interview question

Program debugging - counting frequent letters in a word