The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from counting sort's own run on the numbers shown.
choose one
1question 1
Counting sort works on 1, 1, 3, 1, 2, 0. Once the totals are made, what is the total for 2?
the answer, and why
the answer is C
The tallies for 0, 1 and 2 are 1, 3 and 1. Added up to 2, that is 5.