AlgoViz

Bucket sort

medium 15 min

Bucket sort splits the value range into equal buckets, drops each value into its bucket with floor(x · k), sorts each small bucket and reads the buckets out in order.