eric spencer  //  formal methods · large language models · systems

back to index

Anagram Solver

Scrabble Inspired Anagram Solver


Give a set of letters to the program and it will output a set of possible words you can make according to the English Scrabble dictionary.

Wildcards are supported, with a maximum of two. Please note that adding any more possibilities for wildcards adds a larger complexity (O(n^2) -> O(n^3)) due to the nature of the algorithm. I have hard set this at two for this reason.

How to use:

  1. Enter letters you have (enter ? for a wildcard, max 2)
  2. See output, enter any more letters you have
  3. '*' to console to quit.

File Structure:

Main.java

ScrabbleDictionary.txt

Notes:

Contributing

GitHub Repo