Apex Clearing interview question

Coding: Most frequently occurring character in string