Character Frequency Map
Iterate through the string once and increment the count for each character so the result maps each distinct character to its frequency.
Return a frequency map for all characters in a string.
Iterate through the string once and increment the count for each character so the result maps each distinct character to its frequency.
Iterate through the string once and increment the count for each character so the result maps each distinct character to its frequency.
Return a frequency map for all characters in a string.