Count occurrence of each character in a string
Filed under Hexaware
The question
Write a program to count the occurrence of each character in a given string.
No write-up yet. Related questions below have one.
Related Hexaware questions
Collected from public candidate posts and coding forums. Updated Nov 2026.