Phone Keypad Dictionary Match

Problem

Given a digit string phoneNumber and a dictionary knownWords, return all dictionary words that fully match the number. Each letter maps to one digit, and the word must have the same...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: