This is a sorting visualization of five of the most popular sorting algorithms:
- Bubble Sort
- Heapsort
- Insertion sort
- Merge sort and
- Quicksort
You can see a Demo here
- Play / Resume
- Pause
- Speed
- Length of (random generated) array to sort
- Repeat with different values (but same number of elements)
You can also hover over the elements and a description will be shown
If you experience any issues or miss a sorting algorithm or other functionality feel free to open an issue here.
- Add more sorting algorithms
- Add explaination (blog post like) to the algorithms (like on bubble sort)
- Refactor code to typescript
- Darkmode - Based on system settings
- (Bubblesort) Highlight changed elements
- Add documentation to the rest of the algorithms (for a reference now check the
bubblesort/main.js
file.) - Repetitive - (Maybe) Add all algorithms in one file
Every help is welcome! Feel free to contact me any time :P