Skip to content

yefremov/algorithms-with-go

Repository files navigation

algorithms-with-go Build Status Go Report Card GoDoc

This is a collection of different algorithms written in Go Lang. The purpose of this package is to define basic algorithms in a concise, but readable form. However, no (pre)mature optimizations should be expected here and code should never be used in production.

Contents

Iterative

  • coprime
  • maxsubarray
  • isprime

Recursive

  • factorial
  • fibonacci
  • gcd

Search

  • binary
  • linear

Sort

  • bubble
  • insertion
  • selection

License

MIT