← Capgemini questions
CodingReported in a candidate post, Oct 2024

Count of every character in a string

Filed under Capgemini

Given a string, write a function to count the frequency of each character and return or print the counts.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Capgemini questions

Collected from public candidate posts and coding forums. Updated Nov 2026.