Back to the Problem
Accumulate points in a map and pick the alphabetically-first maximum.
Complexity: O(N)