Skip to content

Add Gnome sort algorithm #507

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

Merged
merged 1 commit into from
Jul 11, 2025
Merged

Add Gnome sort algorithm #507

merged 1 commit into from
Jul 11, 2025

Conversation

Jccqt
Copy link
Contributor

@Jccqt Jccqt commented Jul 11, 2025

Summary of Change:

This pull request introduces the Gnome sort, which is a simple comparison-based sorting algorithm. It is simple, but educational.

  • I have performed a self-review of my code
  • My code follows the style guidelines of this project
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Comments in areas I changed are up to date
  • I have added comments to hard-to-understand areas of my code
  • I have made corresponding changes to the README.md

@Jccqt Jccqt requested a review from siriak as a code owner July 11, 2025 06:37
Copy link

codecov bot commented Jul 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.16%. Comparing base (2ed7a7b) to head (ee71316).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #507   +/-   ##
=======================================
  Coverage   95.16%   95.16%           
=======================================
  Files         267      268    +1     
  Lines       10848    10865   +17     
  Branches     1527     1529    +2     
=======================================
+ Hits        10323    10340   +17     
  Misses        400      400           
  Partials      125      125           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@siriak siriak merged commit 329fc50 into TheAlgorithms:master Jul 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants