Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

go-algorithms

> 编程语言
Open source

Algorithms and data structures for golang

1.9K stars0 likes1 views
WebsiteGitHub

About

Algorithms and data structures for golang

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
  • radix sort
  • bead sort

Searching

  • binary search
  • linear search
  • jump search
  • depth first search
  • breadth-first search

Collections

  • doubly linked list
  • binary tree
  • stack
  • queue
  • balanced_brackets

Numerical

  • gcd
  • factorial
  • fibonacci Contribution

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

Author

@0xAX

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goalgorithmdata-structuresgogolang

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言