indrakishore / Developers-Community

Hactoberfest-2024
MIT License
13 stars 122 forks source link

Bucket sort and counting sort-sorting algorithm in java. #120

Open PradeepFSTdhane123 opened 1 month ago

PradeepFSTdhane123 commented 1 month ago

Bucket sort

-Bucket sort is a sorting technique that involves dividing elements into various groups, or buckets. These buckets are formed by uniformly distributing the elements. Once the elements are divided into buckets, they can be sorted using any other sorting algorithm. Finally, the sorted elements are gathered together in an ordered fashion.

Counting Sort

Counting Sort is a non-comparison-based sorting algorithm. It is particularly efficient when the range of input values is small compared to the number of elements to be sorted. The basic idea behind Counting Sort is to count the frequency of each distinct element in the input array and use that information to place the elements in their correct sorted positions.

PradeepFSTdhane123 commented 1 month ago

@indrakishore "I would love the opportunity to contribute and work on this project. Could you please assign the issue to me? I'm eager to dive in and make a meaningful impact. Thank you for considering my request!"