Better HN
topnewbestaskshowjobs
Log inSign up

Castillan

1 karma · joined Aug 22, 2022 (4y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

The 538 possible solutions are not permutations, and are drawn from the set of 5977 unique non-anagram 5 letter words that can be extracted from words_alpha.txt. There are 536 solutions that include the letter "m".

https://docs.google.com/spreadsheets/d/11sUBkPSEhbGx2K8ah6Wb...

That's a spread-sheet of the various solutions as maintained by Benjamin Paassen, who was the author of the user-submitted solution featured in Matt's video. The times he presents are from being on his own system. Some of the solutions listed there have advanced since Benjamin ran them.

I wish you all the best! It's a fun little challenge to code for.

comment 4y ago · link · parent

I like your approach. It's a good way to find a single solution. Do you think it can be expanded to find all 538 unique solutions that are found within the words_alpha.txt file?

The competition that exists around Matt's original podcast, and later his YouTube video, has the following rules:

The full words_alpha.txt file must be read in The solution must be generic in that it will work on a supplied set of words The solution must be complete in that it finds, at least, all possible unique solutions from the input set.

The fastest solutions out there today are capable of reading in the file, and finding all 538 solutions from words_alpha.txt in around 0.002s for multiple threads, and around 0.010s for a single thread.