artist google <[EMAIL PROTECTED]> writes:

> How do u approach this??

As I understand you rules bubble sort does comply to you rules as it
uses comparisons and rotations of sets of two sequential numbers.

You could improve on the number of rotations by looking at larger
sequences but I still think you have to do the same number of
comparisons.

I'm not sure that you can do any better.

-- 
 Peter Makholm     |    Yes, you can fight it, but in the end the ultimate
 [EMAIL PROTECTED] |                           goal of life is to have fun
 http://hacking.dk |                                     -- Linus Torvalds

Reply via email to