Skip to content

Mnemonic creator for cell phone number. List all possible word combinations for a given phone number

License

Notifications You must be signed in to change notification settings

neelgajjar/Phone-Spell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phone-Spell

Based on a dictionary file and a phone keypad standard, list all possible word combinations for a given phone number

screenshot 918

Design Approach

The solution was based on the Search Trie data structure, that is an efficient implementation of a symbol table for String as keys. This symbol table implementation is able to find the keys (words) in a sub-linear performance. The idea is to explore this ability to find the word combinations for phone numbers.

Performance: Sub-linear.

Memory Usage: Constant.

Read input from console and use inbuilt dictionary and immediately prints the words found.

Sample Output

screenshot 916

screenshot 917

About

Mnemonic creator for cell phone number. List all possible word combinations for a given phone number

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages