Sorting algorithms/Bogosort: Difference between revisions
Content added Content deleted
Line 3,365: | Line 3,365: | ||
sort_array(mut arr) |
sort_array(mut arr) |
||
println('Output: $arr') |
println('Output: $arr') |
||
} |
|||
</lang> |
|||
{{out}} |
{{out}} |
||
<pre>Input: [6, 9, 1, 4] |
<pre>Input: [6, 9, 1, 4] |