Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: partition of an array

by BrowserUk (Pope)
on Apr 23, 2009 at 03:30 UTC ( #759469=note: print w/ replies, xml ) Need Help??


in reply to Re^2: partition of an array
in thread partition of an array

Sticking to positive integers certainly seems to make things easier. Maybe I should have applied that same caveat to mine as a defense against Limbic~Region's detective work :)


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^3: partition of an array
Re^4: partition of an array
by rir (Vicar) on Apr 23, 2009 at 20:25 UTC
    No, neither of us should do that. :-) I should have just well enough alone with my brute force solution.

    I tested my "quick" version with every data set in this thread and more; and managed to miss sequences like: 550, 450, 360, 340, 300. Oh well, I'll be more perspicacious tomorrow. Ha!

    Be well,
    rir

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2014-12-28 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls