ankitapuri / DSA-guide

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

Added a new sorting technique called monkey-sort in python. #236

Closed noviicee closed 3 years ago

noviicee commented 3 years ago

Related issue

-Added a new sorting technique called monkey-sort in python.

Closes: #[217]

Describe the changes you've made

Added a new sorting algorithm in Python Programming Language. It is known as Monkey sort. The file I have added contains all the necessary details on this sorting technique, 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?

You can simply copy the codes and run it on your local machine. It makes use of the random module which gives random results, so doctest will not be suitable for this kind of file.

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
ankitapuri commented 3 years ago

Don't add 2 files . U can delete either the simple one or random one

noviicee commented 3 years ago

Okay I'm doing it..