Kumar-laxmi / Algorithms

A Repository for algorithms in C, C++, Python and Java
Apache License 2.0
311 stars 364 forks source link

Bucket Sort in C & Python #674

Closed Kumar-laxmi closed 1 year ago

Kumar-laxmi commented 1 year ago

Is your feature request related to a problem? Please describe. Yes, my feature request is related to a problem. I would like to implement BucketSort algorithm using C and Python languages. BucketSort is a sorting algorithm that divides the input into a set of buckets and then sorts each bucket individually, typically using another sorting algorithm or recursively applying the same bucket sort algorithm. By implementing this algorithm, we can efficiently sort a collection of elements based on their distribution within a specific range. This will allow for faster sorting in scenarios where the input data has a known distribution or falls within a specific range.

Describe the solution you'd like I would like a solution that provides an implementation of the BucketSort algorithm using both C and Python languages.

Describe alternatives you've considered While considering the implementation of BucketSort using C and Python, I have explored a few alternative options as well. These alternatives include:

Additional context Here is the working of Bucket Sort: image

shanvijha30 commented 1 year ago

@Kumar-laxmi Could you please assign this issue to me. Thank you!

Kumar-laxmi commented 1 year ago

Assigned! @shanvijha30 : C & Python

You can work on this issue but kindly make your PR after 1st June

nilay2207 commented 1 year ago

@Kumar-laxmi I would like to contribute to this. Can you please assign me the issue. I will do it in both C and Python, I have deep understanding of them both so if later on you want some changes I can work on that as well. Thank you