Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: One Zero variants_without_repetition

by thenetfreaker (Friar)
on Aug 08, 2007 at 06:13 UTC ( #631234=note: print w/replies, xml ) Need Help??

in reply to Re: One Zero variants_without_repetition
in thread One Zero variants_without_repetition

You are right about these strings that it doesn't get, as well as:
. . . 01001011111 . . . 11011001011 . . etc

but i don't need to hold them in memory, i simply check each one of them individually and move to the other;
but this algorithm surely seems to work Fast.
If only to fix it a bit to show every variation like the ones you stated, considering it shall slow in twice or three times, with will be wonderful.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2023-02-03 10:51 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (24 votes). Check out past polls.