I am having trouble approaching non-brute force to solve this problem. I was wondering: what set of N letters can I use to create most of the words from this dictionary? Letters can be used any number of times.
For example, for N = 3, we can have EST to give words like TEST and SEE, etc.
Searching the Internet, I found some answers (for example, those listed above for EST), but no description of this approach.
My question is: what known problems are similar to this or what principles should be used to solve this problem?
NOTE. I know that it is not necessarily true that if EST is best for N = 3, then ESTx is best for N = 4. That is, you cannot just add a letter to the previous solution.
In case you are interested, this question came to mind because I was wondering that a set of 4 ingredients can make most cocktails, and I started looking for it. Then I realized that my question was specific, and so I decided that the question with this letter is the same type of problem, and started looking for it as well.
source
share