Re: [A3] bubblesort

From: Anja Karl <akarl ***AT***>
Date: Fri, 18 Nov 2016 13:27:34 +0100
Subject: Re: [A3] bubblesort
Organization: Technische Universitaet Graz
Message-id: <o0ms3m$n14$>
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
References: <o0mon4$hr7$>
Am 18.11.2016 um 12:29 schrieb Leo Prikler:
I don't think bubble.hoare implemented bubblesort correctly. If I run it
with the array {6,2,1,0} and size 4, it returns 2016 and not 0126.

I am sorry for the bug in there. Please feel free to choose any correct version of the bubble sort algorithm you want to use.