View Single Post
  #4 (permalink)  
Old 05-15-2008, 06:50 AM
v0id's Avatar   
v0id v0id is offline
Super Moderator
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,578
Last Blog:
CherryPy(thon)
Credits: 55
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: Generating all sequences of 1s and 0s of length 30

Oh, sorry. I read your question a little too fast. I read it as you just wanted the permutations.

You could search for them, yes, but you're right, that is slow. It's the only solution I can think of right now, but I'm sure somebody will stop by and provide you some better answers.
Reply With Quote