Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swistak-codes/sorting-algorithms
Code for blog articles about sorting algorithms
https://github.com/swistak-codes/sorting-algorithms
Last synced: about 1 month ago
JSON representation
Code for blog articles about sorting algorithms
- Host: GitHub
- URL: https://github.com/swistak-codes/sorting-algorithms
- Owner: swistak-codes
- License: mit
- Created: 2020-11-15T18:34:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-11T19:30:07.000Z (almost 4 years ago)
- Last Synced: 2024-05-02T22:01:31.704Z (8 months ago)
- Language: JavaScript
- Size: 355 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Sorting algorithms
Repository with code for [blog](https://swistak.codes) entries about sorting. You can find articles here: https://swistak.codes/tag/sortowanie/
Comments are in Polish, since blog article is also in Polish.
## Apps
All of the apps require NodeJS (latest LTS) to be installed on your machine.
### sorting-visualizer
App for visualizing process of sorting for different algorithms. Can be checked here: https://codesandbox.io/s/sorting-visualizer-7xejf
Running instructions:
```bash
cd ./sorting-visualizer
npm install
npm run start:dev
```After running you can run different configurations by providing URL params: `?algorithm=[ALGORITHM NAME]&generator=[GAP GENERATOR NAME]`
* algorithm contains name of algorithm to visualize. Names are the same as exported function names in algorithms/index.js.
* generator contains name of gap sequence generator for Shellsort algorithm. Names are the same as exported function names in helpers/shellSortGapsGenerators.js.### sorting-tester
App for testing sorting algorithms performance.
Before running:
```bash
cd ./sorting-tester
npm install
```Running unit tests:
```bash
npm run test
```