Simple Counting Sort


Collapse Content

In a simple sort, the only values that matter are the ones you are sorting. They are not keys to any other values. This makes counting sort very simple. If you already counted the values in the list, you don’t need to access the original list again. This challenge involves a simple counting sort where the elements being sorted are all that matter.

Click for More

Challenge

Using your previous counting code, output the list of integers in order.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us