Skip to content

feat(sort): implement comb sort#2

Merged
gian-gg merged 1 commit intomainfrom
sort/comb-sort
Feb 17, 2026
Merged

feat(sort): implement comb sort#2
gian-gg merged 1 commit intomainfrom
sort/comb-sort

Conversation

@gian-gg
Copy link
Member

@gian-gg gian-gg commented Feb 17, 2026

Description

This PR adds full Comb Sort support to the sorting visualizer.

Changes included:

  • Added CombSortPage with step-by-step Comb Sort animation using a shrinking gap sequence(/=1.3) until gap = 1 and no swaps remain.
  • Added Comb Sort route handling in src/App.tsx.
  • Added Comb Sort metadata entry in src/algorithms/index.ts and marked it as implemented.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have checked that my commit message follows conventional commits

Preview:

comb-sort-preview.mov

@gian-gg gian-gg merged commit cf353b4 into main Feb 17, 2026
1 check passed
@gian-gg gian-gg deleted the sort/comb-sort branch February 17, 2026 19:46
@gian-gg gian-gg changed the title feat(sort): implement shell sort feat(sort): implement comb sort Feb 21, 2026
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.

1 participant