Skip to content

Algorithms and data structures for golang

Notifications You must be signed in to change notification settings

oharlem/go-algorithms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-algorithms

go-algorithms - implementation of different algorithms 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

Algorithms

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

Numerical

  • gcd

Contribution

  • Fork go-algorithms;
  • Make changes;
  • Send pull request;
  • Thank you.

Author

@0xAX

About

Algorithms and data structures for golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%