A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L6
Problem
Given a list of words, return a dict with two keys. 'counts' maps each word to its frequency. 'unique' is the sorted list of words that appear exactly once.
Summary
Every word, twice over.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.