Anagram Solver in Java

February 2024


Due to my love for Scrabble, I created an Anagram solver for the game. Out of the 7 letters you have in your deck, the solver will tell you all the possible words you can play, according to the official scrabble dictionary. It is coded entirely in Java, employing HashMaps and HashSets for fast lookup based on your letters. In Scrabble, there are space characters that allow for any letter to be played. This adds complexity due to the amount of permutations possible for each of 26 letters to be compared with your stack.

The first version can be found here:

Anagram Solver V1

I've also converted this original Java code into a Web App using JavaScript, and will add support for wildcards soon.


Go back to Main Page

Last updated: