Andreas' practical language comparison
Andreas Koch
nospam at kochandreas.com
Sun Apr 25 14:01:05 EDT 2004
Peter Hansen wrote:
> The Java implementation of Bubble Sort doesn't follow the
> specification for the algorithm. It fails to use a "swapped"
> flag to determine when to terminate the loop.
Thanks Peter - for a quick solution i corrected the problem
myself (and corrected sort order, too), and added your
python examples.
--
Andreas
He screamed: THIS IS SIG!
More information about the Python-list
mailing list