Neural Ninjas Β· DSA Simulation Labs Β· Lab 42

πŸͺ£ The Counting Sort Bins

No comparisons, ever. Every element gets thrown straight into the bin matching its own value. Once every element has landed, pour the bins out left to right β€” whatever comes out is already perfectly sorted.

Bin Log

Controls

πŸͺ£ BinI only ever hold one value. Every element that matches me goes straight in β€” I never have to compare it against anything else already inside me.
πŸ«— PourLeft bin first, always. I empty each bin completely before moving to the next β€” that single rule is what makes the output come out sorted.
Pick a level above to begin.