The Word Map
A easy Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L4
Interview Prompt
We're building a keyword index over a batch of user-submitted `text`, and the first pass just needs raw word counts. Return a dict mapping each word to how many times it appears, comparing words case-insensitively and ignoring any punctuation stuck to the outer edges of a word.
Summary
Language, quantified.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your python solution with real code execution
- Get instant feedback and a hire/no-hire decision