mirror of
https://github.com/0xAX/go-algorithms
synced 2024-11-11 19:10:39 +00:00
collections | ||
numerical | ||
searching | ||
sorting | ||
.gitignore | ||
README.md | ||
utils.go |
go-algorithms
go-algorithms
- implemetation of different alghoritms and data structures with golang
.
Usage
-
Clone
https://github.com/0xAX/go-algorithms.git
repo, it must be in your$GOPATH
. -
Execute
go build && go install
ingo-algorithms
-
Execute
go build bubble_sort.go
and./bubble_sort
Alghoritms
Sorting
- bubble sort
- selection sort
- merge sort
- cocktail sort
- gnome sort
- quick sort
- comb sort
- odd/even sort
- heap sort
- Shell sort
- counting sort
Searching
- binary search
Collections
- doubly linked list
- binary tree
- stack
- queue
Algorithms
- gcd
Contribution
- Fork go-algorithms;
- Make changes;
- Send pull request;
- Thank you.