HCLTech interview question

check maximum repeated alphabet in a string