Learn to Code
John F. Dumas
contact me | resume | how it works | example programs | testimonials | main page

Java - Phone

► Problem Description: Given a dictionary of words and a phone number, find all words that can be made from the phone number.

► Example Output (input: 864-2676):

Solution: tog am so
Solution: tog an so
Solution: tog born
Solution: tog corn
Solution: to ham so
Solution: to han so
Solution: to i am so
Solution: to i an so
Solution: to i born
Solution: to i corn
Solution: unicorn

► Source Code

All files (zip file)

Back to Example Program Index

© John F. Dumas | johnfdumas@gmail.com | main page | top of page