[FondInfo] bubble sort & quick sort

Massimo Bertozzi bertozzi at ce.unipr.it
Thu Dec 2 15:02:00 CET 2004


Nella lezione di stamattina c'era un  errore nel computo dei cicli degli
ordinamenti bubble e quick sort.

In effetti  il computo del  bubble sort era un po' troppo  basso.

Vi allego le due versioni corrette.

M.
-- 
Massimo Bertozzi    
Dipartimento di Ingegneria dell'Informazione   Voice:      +39 0521 90 5735
Parco Area delle Scienze, 181A, Parma, ITALY   Fax:        +39 0521 90 5723
WWW: http://www.ce.unipr.it/people/bertozzi    E-mail: bertozzi at CE.UniPR.IT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quick.cpp
Type: text/x-c++src
Size: 1474 bytes
Desc: not available
Url : http://listserv.unipr.it/pipermail/fondinformatica/attachments/20041202/5cbf200d/quick.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bubble.cpp
Type: text/x-c++src
Size: 897 bytes
Desc: not available
Url : http://listserv.unipr.it/pipermail/fondinformatica/attachments/20041202/5cbf200d/bubble.bin


More information about the FondInformatica mailing list