Bucket Sorting Algorithm

Bucket Sorting Algorithm Visually

Sorting Algorithm Stable Algorithm Time Complexity O(n + k) Space Complexity O(n * k) Distribution Sort Intermediate Level
Bucket Sort Controls
Buckets: 0
Distribution network-node: 0
Steps: 0

Algorithm Status

Ready
Progress 0%

Array Visualization

About Bucket Sort

Bucket sort is a distribution sorting algorithm that works by distributing the elements of an array into a number of buckets. Each bucket is then sorted individually, either using a different sorting algorithm or by recursively applying the bucket sorting algorithm. It is mainly useful when the input is uniformly distributed over a range, such as floating point numbers between 0 and 1.

Time Complexity
O(n + k)
Average Case
Space Complexity
O(n * k)
Auxiliary

Execution Log

Operation Log
Bucket sort visualization initialized
Enter array values and click Initialize to begin