Anonymous user
Sorting algorithms/Counting sort: Difference between revisions
→{{header|Vlang}} mut before arr, to fix warning
Line 3,185:
=={{header|Vlang}}==
<lang vlang>fn counting_sort(
println('Input: ' + arr.str())
mut count := [0].repeat(max - min + 1)
|