|
|
> Daniel Hulme <pho### [at] isticorg> wrote:
> > I have no idea why after all these years people still think
> > quicksort is a good idea. It's so trivial to find an example where
> > it takes O(n^2) time.
>
> It's certainly not very trivial to find such an example of the
> choice of pivot in the paritioning is smart.
Thank you for illustrating my point :->
--
"Oh, Eeyore, you are wet!" said Piglet, feeling him.
Eeyore shook himself, and asked somebody to explain to Piglet what hap-
pened when you had been inside a river for a long time.
A. A. Milne, 'The House at Pooh Corner' http://surreal.istic.org/
Post a reply to this message
|
|