Asiatik / codezilla

⚡️ codezilla ⚡️ One giant 🦖 collection of algorithms & design patterns.
MIT License
142 stars 181 forks source link

Counting Sort in c++ #415

Open vikram89813 opened 5 years ago

vikram89813 commented 5 years ago

Title:

Counting Sort in c++

Body:

Counting sort is a stable sorting technique, which is used to sort objects according to the keys that are small numbers. It counts the number of keys whose key values are same. This sorting technique is effective when the difference between different keys are not so big, otherwise, it can increase the space complexity.

Are you working on this? - Yes/No Yes.

sarkararpan710 commented 5 years ago

I would like to work on this. Let me know of any requirements that you would want me to have in the code

vishad2 commented 4 years ago

can be done using single array?