This repository aims to demonstrate sort algorithms in multiple languages.
Algorithm | Information | Language |
---|---|---|
Quick sort | Go to detail π | C# |
Insertion sort | Go to detail π | C# |
Bubble sort | Go to detail π | C# |
Heap sort | Go to detail π | C# |
Selection sort | Go to detail π | C# |
Merge sort | Go to detail π | C# |
- Iterative Merge Sort
- Iterative Quick Sort
- Counting Sort
- Radix Sort
- Bucket Sort
- ShellSort
- TimSort
- Comb Sort
- Pigeonhole Sort
- Cycle Sort
- Cocktail Sort
- Strand Sort
- Bitonic Sort
- Pancake sorting
- Binary Insertion Sort
- BogoSort or Permutation Sort
- Gnome Sort
- Sleep Sort β The King of Laziness / Sorting while Sleeping
- Structure Sorting (By Multiple Rules) in C++
- Stooge Sort
- Tag Sort (To get both sorted and original)
- Tree Sort
- Cartesian Tree Sorting
- Odd-Even Sort / Brick Sort
- QuickSort on Singly Linked List
- QuickSort on Doubly Linked List
- 3-Way QuickSort (Dutch National Flag)
- Merge Sort for Linked Lists
- Merge Sort for Doubly Linked List
- 3-way Merge Sort
Create and go to the directory where you want to place the repository
cd my-directory
Clone the project
git clone https://github.com/pncsoares/sort-algorithms.git
Go to the project directory
cd sort-algorithms
dotnet build SortAlgorithms
dotnet test SortAlgorithms.Tests
MIT