Skip to content

Conversation

@akshayram1
Copy link

Description

This commit introduces the Cocktail Shaker Sort algorithm to our codebase. Cocktail Shaker Sort is an efficient variation of the Bubble Sort that sorts a list by iterating through it in both directions. This bidirectional approach allows it to effectively place the largest and smallest unsorted elements in their correct positions more quickly, especially in nearly sorted lists.

@kelvins
Copy link
Owner

kelvins commented Oct 15, 2024

Could you please fix the linter?

@kelvins kelvins closed this Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants