Question bank › Hashing
Dsa Hashing Warm-up

Email Frequency Counter

Write a program to count the frequency of email addresses from input. Emails are provided one per line. The end of input is indicated by an empty line. Your program should output each email followed by its frequency in a new line. Example input: john.doe@example.com jane.doe@example.com john.doe@example.com Output should format: john.doe@example.com 2 jane.doe@example.com 1

Key concepts

hashingdictionariescounting

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of Praxari's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.