Jump to content

Sorting algorithms/Sleep sort: Difference between revisions

(Add Julia)
Line 681:
</pre>
 
=={{header|JuliaMatlab}}==
<lang Julia>input = [3,2,4,7,3,6,9,1]
output = Int[]
Line 696:
{{out}}
<pre>[1,2,3,3,4,6,7,9]</pre>
 
=={{header|Lua}}==
Here's a slow implementation using only stock C Lua:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.