/Sorting-algorithms

A collection of sorting algorithm

Primary LanguagePythonThe UnlicenseUnlicense

Sorting Algorithms

Welcome to the Sorting Algorithms repository, a place where you can explore a collection of sorting algorithms, ranging from the quirky and inefficient to the highly efficient. We've included classics like quicksort and mergesort alongside some fun and unconventional choices. Whether you're a seasoned developer or just curious about the world of sorting, you're in for an interesting journey!

Algorithms Included

Here's a list of the sorting algorithms you'll find in this repository:

  1. ChunkedBogo Sort: A whimsical and highly inefficient sorting algorithm that brings randomness to a whole new level.

  2. Cosmic Sorter: Explore the cosmos of sorting with this algorithm that takes you on a journey through the universe of sorting possibilities.

  3. EverySort: As the name suggests, it's an attempt to sort by verifying every possible permutation, it is very slow.

  4. FullCosmicSort: An extended version of Cosmic Sorter that dives even deeper into the cosmic abyss of sorting challenges.

  5. Merge Sort: A classic, efficient sorting algorithm that divides and conquers to sort your data effectively.

  6. Quicksort (Faster): Quicksort, a fast and efficient sorting method, optimized for speed.

  7. Quicksort (Less Memory): A memory-conscious version of Quicksort, ideal for situations where memory usage is a concern.

  8. Yahtzee Sort: A playful take on sorting that draws inspiration from the famous dice game, Yahtzee.

  9. The Pong Sorting Algorithm: A unique sorting algorithm that turns the sorting process into a game of Pong against an AI opponent. When the user scores, it performs a single permutation on the array, and when the AI scores, it adds a permutation back to the list.

Why Explore These Algorithms?

While some of these algorithms may never be used in practical applications, they offer valuable insights into the world of sorting. You can learn about algorithmic thinking, efficiency trade-offs, and the sheer creativity that can emerge in the world of computer science.

Feel free to dive into the code, experiment, and have fun exploring these sorting algorithms. Who knows, you might even discover a new perspective on sorting that could inspire your future projects!

Happy sorting! 🚀