Bucket Sort
Bucket Sort distributes elements into a collection of buckets based on their values, sorts each bucket individually, and concatenates the buckets. It is effective when input values are distributed relatively uniformly over a known range, particularly for floating-point values in a bounded interval.
Performance depends heavily on distribution.
Average behavior can approach O(n+k) with appropriate assumptions.
Worst-case behavior can degrade toward O(n²) depending on the bucket sorting strategy.
Useful for uniformly distributed bounded values.
Bucket allocation requires additional memory.
0-2 years experience
2-5 years experience
5-8 years experience
8+ years experience