Eric Spencer

projects


← back to index

Anagram Solver

Scrabble Inspired Anagram Solver


The program takes a set of letters and outputs the words that can be made from them, checked against the English Scrabble dictionary.

Wildcards are supported, to a maximum of two. Each extra wildcard raises the complexity of the algorithm (O(n^2) -> O(n^3)), so the limit is fixed at two.

How to use:

  1. Enter the letters available (enter ? for a wildcard, max 2)
  2. Read the output, then enter any further letters
  3. Enter '*' to quit.

File Structure:

Main.java

ScrabbleDictionary.txt

Notes:

GitHub Repo