Think about algorithm
Anagrams
Given a dictionary of English words, find all sets of anagrams. For example, "pots", "stop", "tops", and "spot"
are all anagrams of one another because each can be formed by permuting the letters of the others.
Phone numbers
Given a dictionary of English words, find all words that form a given phone number or at least the beginning of it.
For example, number 844-6548 can be written as "Think guys".
| 1 |
2 ABC |
3 DEF |
| 4 GHI |
5 JKL |
6 MNO |
| 7 PQRS |
8 TUV |
9 WXYZ |
|
0 |
|
References: