-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
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
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:
[x ] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
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