Skip to content

The solution for Trustpilot's "Follow the white rabbit" code challenge.

Notifications You must be signed in to change notification settings

Ehsan-khaveh/trustpilot-code-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trustpilot Code Challenge

The solution for Trustpilot's "Follow the white rabbit" code challenge.

Solution Outlines:

  1. Read in the words from the file and filter out the ones with letters not in anagram.
  2. Create a dictionary of filtered words mapped to to candidates with which they can build a phrase without violating letters in anagram.
  3. Start building phrase of length 3 using the word_candidate map, and go higher until all the targets are found

Requirements:

Python 2.7.12

Run the Code:

python solution.py

About

The solution for Trustpilot's "Follow the white rabbit" code challenge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages