Unique Letter Word Puzzle
- 25Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is the core puzzle presented in the content regarding five-letter words?
The puzzle is to find multiple five-letter words where, when combined, they do not have any repeated letters.
Or swipe the card
25 cards
What is the core puzzle presented in the content regarding five-letter words?
The puzzle is to find multiple five-letter words where, when combined, they do not have any repeated letters.
How many letters are in the standard English alphabet, and how many are needed for five five-letter words without repetition?
There are 26 letters in the standard English alphabet. For five five-letter words with no repeated letters, 25 unique letters are needed.
What initial strategy did the speaker consider for solving the word puzzle, besides thinking about words directly?
The speaker considered checking 'all the words' by approaching it from a computational perspective rather than manually trying to fit words together.
How many five-character strings of letters exist, and how many of those have five unique letters?
There are over 11 million sets of five letters making up a word. If restricted to those with five unique letters, the number reduces to just over seven million.
What was the initial source of the list of English words the speaker used for the puzzle?
The speaker used a list of 370,105 different words from a previous project involving calculating finger travel distance on a typewriter.
After filtering for five-letter words and removing those with repeat letters, how many words remained?
After these initial filters, 10,175 words remained.
How many meaningful five-letter words with all different letters remained after removing anagrams?
A mere 5,977 meaningful words remained after removing anagrams.
What was the approximate number of combinations when trying to pick five words from the 5,977 unique letter words?
There were over 63 quadrillion combinations (5,977 choose 5).
Why was a brute-force approach of checking all 63 quadrillion combinations unfeasible?
Checking all combinations would take over 2,000 years, even with a computer checking a million combinations per second.
What two options were considered to solve the computational challenge of checking combinations?
The two options were to get a more powerful computer or to be more clever with how the combinations were checked (algorithmic optimization).
What technique did the speaker use to aggressively prune the search space for combinations?
The speaker used 'aggressive pruning' by first checking every pair of words to see if they had 10 unique letters. If not, any sets containing those two words could be ignored.
How many pairs of words had 10 unique letters?
There were 3,213,696 pairs of words that each had 10 unique letters.
How long did the speaker's code run on their old laptop?
The code ran for over a month, churning away to find the solutions.
How many sets of five words with 25 unique letters did the speaker's initial code find?
The code found 538 sets of five words that between them had 25 unique letters.
What word was found in 87.3% of all successful sets of five words, causing issues?
The word was
fldxt, pronounced 'fluid extract'.Why did the presence of
fldxtcause problems with the word list?The original word list was very generous, defining a word as any string of characters someone is likely to use or type, rather than a stricter definition of what constitutes a 'real' English word.
How did the speaker attempt to rank the 'wordiness' of the found solutions?
The speaker wrote a script to Google each word from the solutions and record the number of search results, using this as a proxy for how much Google thought it was a word.
How was the anagram problem addressed when refining solutions?
The script also Googled every anagram of every word in every solution and picked the one with the highest number of Google results to ensure the 'best' version of a letter set was included.
What was the final, definitive source for determining whether a word was 'valid' for the puzzle?
The definitive source was the original Wordle word list, which combined answer words and acceptable guess words, totaling 12,972 acceptable words.
How many of the 538 initial solutions had all five words validated by the Wordle list?
Only one single solution had all five words validated by the Wordle list.
What are the five Wordle-validated words that collectively use 25 unique letters?
The five words are Fjord, Gucks, Nymph, Vibex, and Waltz.
Which letter of the alphabet was left over (unused) by the unique set of five Wordle-validated words?
The letter 'Q' was left over.
How did Benjamin (from Gitlab) significantly improve the computation time for finding these word sets?
Benjamin used graph theory, creating a network of five-letter words with unique letters, linking those with no letters in common, and then searching for complete subgraphs of five nodes.
How long did Benjamin's (from Gitlab) optimized algorithm take to run?
The graph generation took 22.5 seconds, and the subgraph search took 15 minutes, for a total significantly less than one day.
Why did Benjamin's algorithm find more total solutions than the speaker's original code?
Benjamin's algorithm included anagrams in its results, whereas the speaker's original code had explicitly removed anagram duplicates.

Ask anything
We've read this whole study set, so questions about it get the best answers.