ossamamehmood / Hacktoberfest2023

About Make your Pull Request on Hacktoberfest 2023. Don't forget to spread love and if you like give us a ⭐️
https://hacktoberfest.com
GNU General Public License v3.0
127 stars 749 forks source link

Bucket Sort #737

Open DeepikaMunde0208 opened 8 months ago

DeepikaMunde0208 commented 8 months ago

Bucket sort is a sorting algorithm that divides the input into multiple "buckets," each containing a range of values. It then sorts the elements within each bucket, typically using another sorting algorithm like insertion sort. Finally, it concatenates the sorted buckets to produce a fully sorted output. Bucket sort is useful when the input data is uniformly distributed, and it can provide linear time complexity under certain conditions.