Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Algorithm to convert combinations to bitstring

by spx2 (Deacon)
on Jan 10, 2010 at 14:57 UTC ( [id://816611]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Algorithm to convert combinations to bitstring
in thread Algorithm to convert combinations to bitstring

ok you're right :) how did you solve the problem ?
  • Comment on Re^5: Algorithm to convert combinations to bitstring

Replies are listed 'Best First'.
Re^6: Algorithm to convert combinations to bitstring
by Limbic~Region (Chancellor) on Jan 10, 2010 at 15:26 UTC
    spx2,
    See How many words does it take?. If I remember correctly, I modified blokhead's solution to Java. Since I was dealing with a powerset, I had 26 bitstrings - 1 for each possible length of string.

    Cheers - L~R

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2026-01-15 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.