What does it mean if a 7 is stored at index 1 of the C array?
```
1 COUNTING-SORT( A )
2 make an Array C of length k + 1
3 for each i, from 0 to k
4 C[ i ] = 0
5 for each j, from 0 to the length of A - 1
6 C[ A[ j ] ]++
7 j = 0
8 for each i from 0 to k
9 for each m from 1 to C[ i ]
10 A[ j ] = i
11 j++
```
A. There is one element with value 7 in the A array.
B. In the final sorted array, there will be only one seven.
C. In the final sorted array, there will be from one to seven elements.
D. There are seven elements with value 1 in the A array.
D
You might also like to view...
The ____ enables a device and the processor to exchange data
A) IRQ B) DMA channel C) POST D) I/O address
An IT ______, usually hired based on experience, provides technology services to his or her clients.
Fill in the blank(s) with the appropriate word(s).