Print characters and their frequencies
Filed under 1mg
The question
Given a string that may contain special characters, print each unique character along with its frequency.
No write-up yet. Related questions below have one.
Related 1mg questions
Collected from public candidate posts and coding forums. Updated Nov 2026.