Counting Sort ·
No Comparisons, Just Tallies
un
seel
.com · O(n + k) · stable · radix building block
Input
[4,2,2,8,3,3,1]
Written
0
/ 7
Stage
setup
Input cell
Count bucket
Active
Output written
Play
←
→
Unmute
Reset
Un
seel
.com · Counting Sort