Sorting algorithms/Bubble sort: Difference between revisions
Content added Content deleted
(J style solution) |
m (→{{header|J}}) |
||
Line 571:
<lang J>
bubbleSort=: (([ (>. , <.) {.@]) , }.@])/^:_
Test program:
|
(J style solution) |
m (→{{header|J}}) |
||
Line 571:
<lang J>
bubbleSort=: (([ (>. , <.) {.@]) , }.@])/^:_
Test program:
|