Given a string find the most frequent letter. Used counting sort like method.
Time: O(N)
Space: O(1) constant, depending on the letters or char's in your alphabet.