Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dervexdev/luasortingalgorithms
Implementation of 20+ sorting algorithms in Lua and Luau
https://github.com/dervexdev/luasortingalgorithms
Last synced: about 1 month ago
JSON representation
Implementation of 20+ sorting algorithms in Lua and Luau
- Host: GitHub
- URL: https://github.com/dervexdev/luasortingalgorithms
- Owner: DervexDev
- Created: 2022-08-30T18:56:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-30T19:01:48.000Z (over 2 years ago)
- Last Synced: 2024-05-02T05:29:56.982Z (8 months ago)
- Language: Lua
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Implementation of 20+ sorting algorithms in Lua and Luau
All algorithms have been ported from Python which can be found on [GeeksforGeeks](https://www.geeksforgeeks.org/sorting-algorithms/) site. Every file is ready to use module which can be imported!
## This repository features following algorithms:
* Bogo Sort
* Bubble Sort
* Bucket Sort
* Circle Sort
* Cocktail Sort
* Comb Sort
* Counting Sort
* Cycle Sort
* Gnome Sort
* Gravity (Bead) Sort
* Heap Sort
* Insertion Sort
* Merge Sort
* Pancake Sort
* Pigeonhole Sort
* Quick Sort
* Radix Sort
* Selection Sort
* ShellSort
* Stooge Sort
* Strand SortAnd all of them in single module named `AllAlgorithms.lua`.
## Limitations:
All of these algorithms are 100% working with **integers** and most of them work with **floats**! *(Bucket, Counting, Gravity, Pigeonhole - these don't work!)*