Skip to content

updated combsort#370

Open
PAVAN2005-LAB wants to merge 2 commits intokelvins:mainfrom
PAVAN2005-LAB:patch-1
Open

updated combsort#370
PAVAN2005-LAB wants to merge 2 commits intokelvins:mainfrom
PAVAN2005-LAB:patch-1

Conversation

@PAVAN2005-LAB
Copy link
Copy Markdown
Contributor

Instructions

Before opening a Pull Request, please read the following items:

  1. Make sure you have read the CONTRIBUTING guidelines
  2. Make sure no other PR is implementing the same change
  3. Make sure the Continuous Integration workflows (Github Actions) are all passing
  4. If in doubt about how to approach another contributor, read our CODE OF CONDUCT guidelines

Description

saanjpatel and others added 2 commits February 14, 2025 18:36
feat: implement optimized Comb Sort algorithm

- Initial implementation of Comb Sort using 1.3 shrink factor.
- Optimized memory usage by passing vectors by reference.
- Used std::swap for cleaner element displacement.
- Added helper function for vector visualization in main.
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