Find known words from a phone number.
Unlock detailed company stats for this questionUpgrade
Given the phone keypad letter mapping and a list of known words, output all known words that can be formed from an n-digit phone number. KNOWN_WORDS = ['careers', 'linkedin', 'hiring', 'interview', 'linkedgo']. Phone number 2273377 gives ['careers'] and 54653346 gives ['linkedin', 'linkedgo'].
Expect follow-ups like
- Add functions for adding and removing words from the known words.
Community answers
No answers contributed by the community yet.
Related questions
Find all words that can be formed from a number sequence on a phone keypad.Find the missing number from 1..n.Related courses

Course

Course
Course
