Find Known Words Matching a Phone Number

Problem

Given a list of known words words and a phone number string number, return all known words that map to that number using a telephone keypad.

The keypad mapping is:

2: abc
3: d...

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: