Euler #18: max path sum in a matrix.
Most common occurence of a letter: keep also a multimap for easy accessing 10 most encountered letters.