Jump to content

Sorting algorithms/Bubble sort: Difference between revisions

→‎[[Perl]]: removed note, everything has sort built-in
(added Haskell)
(→‎[[Perl]]: removed note, everything has sort built-in)
Line 175:
my @test = (1, 3, 256, 0, 3, 4, -1);
print join(",",Bubble_Sort(@test));
 
Note: Of course, there's no need to implement bubble sort in Perl as it has sort built-in.
 
==[[Python]]==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.