Most Common Letter
Return the lowercase letter that appears most often in s. Ignore every character that is not a letter, and treat upper and lower case as the same letter. If several letters tie, return the one that comes first in the alphabet. The input has at least one letter.
Example 1
s "Hello, World!"
returns "l"
l appears 3 times.
Example 2
s "ab AB"
returns "a"
Tie of 2 each; a is first.
Constraints
1 <= len(s) <= 100shas at least one letter
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.