Jump to content

Sorting algorithms/Bubble sort: Difference between revisions

m
Fixed a small indexing error in Befunge example
imported>Avethenoul
m (Added Befunge implementation)
imported>Avethenoul
m (Fixed a small indexing error in Befunge example)
Line 2,452:
 
<syntaxhighlight lang="befunge">
000p&: v >20g:5g7g\1+5g2v7g2v
v00p5g00v00p7g00 _10p0>20p20g:5g7g\1+5g7g`|0p50p7+1g02p5g01g02p7g0<
>g1+00p&:^ |-\g00:+1g02 <
0 >$10gv
|-\g00:+1 <
>1->:5g7g\:#v_$>:#._25*,@
^ <
</syntaxhighlight>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.