GolangSortingVisualization

examples of various sorting algorithms in golang (with visualization)

Github星跟踪图

GolangSortingVisualization

Codacy Badge
Coverage Status
Build Status
Go Report Card
codebeat badge

this sorting visualization is not intended to recommend any algorithm, if you need a recommendation go somewhere else.

if you like, feel free to add more Sorting Algorithm examples. Many thanks to all contributors.

Sorting Algorithms

BogoSort

Bogo Sort Animation

BubbleSort

Bubble Sort Animation

CocktailSort

Cocktail Sort Animation

CombSort

Comb Sort Animation

CountingSort

Counting Sort Animation

CycleSort

Cycle Sort Animation

GnomeSort

Gnome Sort Animation

HeapSort

Heap Sort Animation

InsertionSort

Insertion Sort Animation

MergeSort

Merge Sort Animation

OddEvenSort

OddEven Sort Animation

PancakeSort

Pancake Sort Animation

QuickSort

Quick Sort Animation

ShellSort

Shell Sort Animation

SelectionSort

Selection Sort Animation

StoogeSort

Stooge Sort Animation

HowTo

./start.sh
$ go run gsv.go --help
Usage of gsv:
  -algo="bubble": Select sorting algorithm all/bogo/[bubble]/comb/counting/gnome/insertion/oddEven/selection/sleep
  -count=30: number of values
  -fps=10: frames per second
  -max=9: highest value
  -mode=1: visualization mode
  -vis="stdout": Select output: [stdout]/gif

License

MIT

主要指标

概览
名称与所有者SimonWaldherr/GolangSortingVisualization
主编程语言Go
编程语言Go (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2014-08-06 22:37:53
推送于2024-08-30 18:51:16
最后一次提交2024-08-30 20:51:16
发布数6
最新版本名称v0.13.0 (发布于 2024-08-30 20:49:23)
第一版名称v0.9.0 (发布于 2017-10-09 00:36:07)
用户参与
星数125
关注者数3
派生数17
提交数74
已启用问题?
问题数10
打开的问题数10
拉请求数12
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?