Capgemini interview question

Basic selenium questions. Max occurence char in a string program.