Skip to content

4k5h1t/Sorting-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Sorting-Algorithms

Learning / Creating new and weird sorting algorithms and providing visualizations

Algorithms

Cocktail Shaker Sort

  • Cocktail shaker sort, also known as bidirectional bubble sort, cocktail sort, shaker sort, ripple sort, shuffle sort, or shuttle sort, is an extension of bubble sort. The algorithm extends bubble sort by operating in two directions.
    • Worst complexity: n^2
    • Average complexity: n^2
    • Best complexity: n
    • Space complexity: 1
    • Method: Exchanging
    • Stable: Yes
    • Class: Comparison sort

Sorting_shaker_sort_anim

About

Learning / Creating new and weird sorting algorithms and providing visualizations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages