| [ Web Proxy ] |
| Viewing: https://riptutorial.com/algorithm/example/24117/bucket-sort-basic-information | [Back] [Original] |
[logo rip]
Bucket Sort is a sorting algorithm in which elements of input array are distributed in buckets. After distributing all the elements, buckets are sorted individually by another sorting algorithm. Sometimes it is also sorted by recursive method.
Pseudo code for Bucket Sort
Example of bucket sort:
[Bucket Sort Example]
Mostly people uses insertion paradigm for little bit of optimization.
Auxiliary Space: O{n}
| Web Proxy Viewer | New URL | Original Page |