http://www.perlmonks.org?node_id=1056952


in reply to Re^3: Challenge: 8 Letters, Most Words
in thread Challenge: 8 Letters, Most Words

Hi,

I'm asking because the output of your program does IMHO not give a hint of the right solution for the following dict:

aa aab baa aba ccc cdc dcc ccd rs sr qt tq uv vu wx xw

What do you think?

Best regards
McA

Replies are listed 'Best First'.
Re^5: Challenge: 8 Letters, Most Words
by TJPride (Pilgrim) on Oct 30, 2013 at 16:10 UTC
    My method is to, for each word, count the number of words that can be made using its letters. I then choose the word with the highest count. I suppose the best combination could be something else entirely, though.