-
-
Couldn't load subscription status.
- Fork 26
Implemented Gnome Sort Algorithm #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented Gnome Sort Algorithm #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @SatinWukerORIG ,
Looking forward to your review 🙂
…rt_implementation # Conflicts: # DIRECTORY.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added more test cases for the gnome_sort module.
Description:
This pull request introduces an implementation of the Gnome Sort algorithm.
Definition:
O(n²). Certainly not a suitable choice for large datasetsHeap SortImplemented Heap Sort Algorithm #8 orMerge SortImplemented Merge Sort Algorithm #7 for large datasetsImplementation Details:
gnome_sort.f90: Contains thegnome_sort_modulewith:The implementation follows the module structure as outlined in the contribution guidelines.
Example Usage:
example_usage_gnome_sort.f90: A test program that demonstrates thegnome_sortsubroutine from thegnome_sort_module. It sorts a sample array and prints the results.Additional Test Cases:
tests_gnome_sort.f90: A test program that includes a variety of test cases to validate the gnome_sort implementation.