Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: Another word puzzle with too many permutations

by sarchasm (Acolyte)
on Oct 15, 2013 at 21:11 UTC ( [id://1058354]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Another word puzzle with too many permutations
in thread Another word puzzle with too many permutations

Your code works great with the smaller sets of data. When I try to run it against a 250 item list, it runs out of memory. Is it possible to only output results that consume all available letters for a specific amount of words? ie: I need exactly 10 words that use all of the given letters to have a solution.
  • Comment on Re^5: Another word puzzle with too many permutations

Replies are listed 'Best First'.
Re^6: Another word puzzle with too many permutations
by MidLifeXis (Monsignor) on Oct 16, 2013 at 12:00 UTC

    My solution calls success any set of names that map to a subset of the alphabet. Change the definition of success to a set of names that fully exhaust the alphabet (@alphabet contains all 0s).

    --MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1058354]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found