Product
Pricing
Blog
Forum
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
AI Insights
Quick Summary
Determine which words from a list match a given T9-style phone number sequence.
Digit '1' is ignored/skipped, while other digits map to specific letters or spaces.
Return all words whose character-to-digit translation exactly matches the normalized phone number.
What This Tests
Character mapping and encoding logic (T9 keypad rules).
String normalization and filtering techniques.
Efficient data retrieval using hash tables or dictionaries.
Handling special characters and edge cases in string processing.
Common Patterns
Hashing
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Report
Report seen similar question in interview
Accepted
2.3k
/4.1k
Acceptance Rate
54.9%
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Python3
Auto
Debug
Run
Submit
Test Cases
Input
knownWords =
phoneNumber =
Output
Expected