Every character can be presented by its
int value. Make an
NSArray with n size (n number of
unique characters string can have). Loop through string and add +1 on
(int)character index in array at every cycle. When you finish the character
with greatest value in array is the highest repeated character.