ankitapuri / DSA-guide

Trying to cover important DSA
MIT License
49 stars 113 forks source link

Added Monkey Sort to the Sorting Algorithms #240

Closed noviicee closed 3 years ago

noviicee commented 3 years ago

Related Issuse

-Adding a new sorting technique. Closes: #[217]

Describe the changes you've made

Adding a new sorting algorithm in Python Programming Language. It is known as Monkey sort. All the necessary details on this technique is also in the md file, so users who don't have any information on it, might still be able to get an idea on this sorting technique.

Type of change

How Has This Been Tested?

I have tested the codes on my local machine by running it on the terminal. Since it makes use of the random module, which generates new set on each run, it is unnecessary to use doctest for this implementation.

Describe if there is any unusual behaviour of your code(Write NA if there isn't)

NA

Checklist:

Screenshots

Original Updated
original screenshot updated screenshot
noviicee commented 3 years ago

Is it okay..?

noviicee commented 3 years ago

Thank you! Btw, there are several other searching and sorting techniques, which are implemented in other languages, but not in Python. So can I add their implementations in Python as well?

ankitapuri commented 3 years ago

Thank you! Btw, there are several other searching and sorting techniques, which are implemented in other languages, but not in Python. So can I add their implementations in Python as well? Just join discord channel once for discussion : https://discord.gg/68MfEh6C

noviicee commented 3 years ago

Thank you! Btw, there are several other searching and sorting techniques, which are implemented in other languages, but not in Python. So can I add their implementations in Python as well? Just join discord channel once for discussion : https://discord.gg/68MfEh6C

Thanks!