Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: Algorithm to convert combinations to bitstring

by spx2 (Deacon)
on Jan 10, 2010 at 14:57 UTC ( #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
Node Status?
node history
Node Type: note [id://816611]
help
Chatterbox?
[erix]: This sad, embarrassing wreck of a man

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2018-07-17 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (378 votes). Check out past polls.

    Notices?