You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Inga 🏳‍🌈 5fb43799af Refactored to use RX 7 years ago
WhiteRabbit Refactored to use RX 7 years ago
.gitattributes Initial project structure 7 years ago
.gitignore Initial project structure 7 years ago
README.md Optimization 7 years ago
TrustPilotChallenge.sln Solution renamed; readme added 7 years ago
wordlist Added wordlist 7 years ago

README.md

Info

This is my solution to the challenge: http://followthewhiterabbit.trustpilot.com/

Usage info

WhiteRabbit.exe < wordlist

Performance

This solution is not optimized for multi-threading.

Nevertheless, the performance on Sandy Bridge @2.8GHz is as follows:

  • If only phrases of at most 3 words are allowed, then it takes 2.5 seconds to find and check all anagrams; all relevant hashes are solved in first 0.4 seconds;

  • If phrases of 4 words are allowed as well, then it takes 70 seconds to find and check all anagrams; all hashes are solved in first 5 seconds;

For comparison, certain other solutions available on GitHub seem to require 3 hours to find all 3-word anagrams (i.e. this solution is faster by a factor of 4000 in 3-word case).