regiellis / go-algorithms

Algorithms and data structures for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-algorithms

go-algorithms - implemetation of different alghoritms and data structures with golang.

Usage

  1. Clone https://github.com/0xAX/go-algorithms.git repo, it must be in your $GOPATH.

  2. Execute go build && go install in go-algorithms

  3. 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.

Author

@0xAX

About

Algorithms and data structures for golang


Languages

Language:Go 100.0%