Please sort the steps of the stable counting sort in the correct order:
Counting sort
Follow the order
Report a typo
Put the items in the correct order
Modify the frequency array to the cumulative frequency array
Determine the range of the input array
Count the occurrences of each elements
Create an empty frequency array
Prepare the output array using the cumulative frequency array
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.