The solution for Trustpilot's "Follow the white rabbit" code challenge.
- Read in the words from the file and filter out the ones with letters not in anagram.
- Create a dictionary of filtered words mapped to to candidates with which they can build a phrase without violating letters in anagram.
- Start building phrase of length 3 using the word_candidate map, and go higher until all the targets are found
Python 2.7.12
python solution.py