Loading...
The Word Families
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- mid, senior
Problem
A search engine needs to cluster words that share the same set of characters for autocomplete grouping. Given a list of strings, group together all words that are anagrams of each other. Return a sorted list of groups, where each group is sorted alphabetically.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.