Sorting algorithms/Counting sort: Difference between revisions
Content deleted Content added
m →version 1: changed indentations, whitespace, separator, and comments, also simplified the "counting" DO loop. |
m →{{header|REXX}}: added a REXX section header comment. |
||
Line 1,743: | Line 1,743: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
These REXX versions make use of ''sparse'' arrays. |
|||
===version 1=== |
===version 1=== |
||
<lang rexx>/*REXX program sorts an array using the count─sort algorithm. */ |
<lang rexx>/*REXX program sorts an array using the count─sort algorithm. */ |