Sorting algorithms/Bubble sort: Difference between revisions

Content deleted Content added
J style solution
Line 571:
<lang J>
bubbleSort=: (([ (>. , <.) {.@]) , }.@])/^:_
)</lang>
 
Test program: