Letters in the Noise
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L5
Problem
A text-cleaning step in your pipeline needs a per-letter tally of the raw strings passing through it. For a given `s`, return the letter frequencies as `[letter, count]` pairs.
Summary
Case and punctuation are distractions. Find what each letter really weighs.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.