Sorting algorithms/Bubble sort: Difference between revisions

Content added Content deleted
(added Haskell)
(→‎[[Perl]]: removed note, everything has sort built-in)
Line 175: Line 175:
my @test = (1, 3, 256, 0, 3, 4, -1);
my @test = (1, 3, 256, 0, 3, 4, -1);
print join(",",Bubble_Sort(@test));
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]]==
==[[Python]]==