Skip to content
/ sorts Public

Simple visualization of sorting algorithms in Go.

License

Notifications You must be signed in to change notification settings

sjpau/sorts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sorts

Simple visualization of sorting algorithms.

It's not a benchmark

This program is created strictly for visual appeal. It does not compare real-world complexities of implemented algorithms and does not provide benchmarking tools.

Controls

Sorting algorithms are numbered as described below. Press SPACE to randomize matrix.

Sorting algorithms

1 - Selection sort

2 - Gnome sort

3 - Bubble sort

4 - Heap sort

5 - Cocktail shaker sort

6 - Comb sort

7 - Quick sort

8 - Shell sort

9 - The Greatest Sorting Algorithm Known to Humankind

Installation

go install github.com/sjpau/sorts@latest

Compile manually

go get github.com/sjpau/sorts

go build . in the code directory