Re: puzzle



In article <42B814ED.559E@xxxxxxxxxxxxxx>, pfiland@xxxxxxxxxxxxxx says...
> spinoza1111@xxxxxxxxx wrote:
>
> > The XOR solution continues to suck. Once you drop the assumption of an
> > atomic XOR, you have a BAD O(n) algorithm.
>
> The one and only BAD thing about it,
> is that you didn't think of it first.

LOL. He still doesn't even know why it works, or he wouldn't be asking
for a proof.

> The clever part of your Stupid solution is especially stupid.
> You have no reason to assume that the unique value is
> in the middle half of the array. Therefore on average,
> your search pattern just slows everything down.

You better watch out pete, your lawsuit for telling the truth is just
around the corner.

--
Randy Howard (2reply remove FOOBAR)
"I don't really care about being right you know,
I just care about success." --Steve Jobs
.