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.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
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