Amazon interview question

Most frequent word in a string