Sorting algorithms/Sleep sort: Difference between revisions
→{{header|Lua}}: Add output
(→{{header|Lua}}: Add implementation) |
(→{{header|Lua}}: Add output) |
||
Line 650:
end
end</lang>
Either way, the output is the same:
{{Out}}
<pre>
$ lua sleep_sort.lua 3 1 4 1 5 9 2 6 5 3 5
1
1
2
3
3
4
5
5
5
6
9
</pre>
=={{header|Mathematica}}==
|