AlgoMaster Logo

Counting Sort

arr=[4, 2, 2, 8, 3, 3, 1]
0 / 30
phase = countvalues = 1..8arr01234564228331count0102030405060708output0123456
algomaster.io
Step:Start: sort the array with counting sort