Algorithm · 1. let C[0..k] be a new array · 2. for i = 0 to k · 3. C[i] = 0 · 4. for j = 1 to A.length · 5. C[A[j]] = C[A[j]] + 1 ...
確定! 回上一頁