Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Basic Scrabble Solver

807580May 2 2010 — edited May 5 2010
I am in the process of writing a program which will take in 7 characters and store all the possible 3-7 letter words in an Arraylist. I downloaded a word list from online in the form of a text file.
My initial thought was to use nested for-loops to check every possible word and then check that against the word list. However, I'm not quite sure on how to do the checking part efficiently. If I check my newly-created word against each word in the world list file, it would take awhile to complete. Is there a more efficient way to do this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2010
Added on May 2 2010
13 comments
291 views