Sorting algorithms/Counting sort: Difference between revisions
Sorting algorithms/Counting sort (view source)
Revision as of 22:59, 13 February 2024
, 4 months ago→{{header|EasyLang}}
m (→{{header|Wren}}: Changed to Wren S/H) |
|||
Line 1,360:
=={{header|EasyLang}}==
<syntaxhighlight
proc countsort min max . d[] .
len count[] max - min + 1
Line 1,376:
.
for i = 1 to 100
d[] &=
.
countsort 1 1000 d[]
|