Acid 8461c26d42
Go / build (push) Successful in 30s
changed strings union find > generic union find
2026-07-19 02:14:50 -04:00
2026-07-08 01:56:37 -04:00
2026-07-14 18:38:36 -04:00
2026-04-04 21:03:11 -04:00
new
2026-05-09 17:56:46 -04:00

Data Structures & Algorithms in Go

Linear

  • Stack
  • Queue
  • Double Linked List
  • Circular Buffer
  • Deque (segmented array), Not possible in Go

Tree — hierarchical, parent/child relationships

  • Binary Search Tree
  • AVL Tree
  • Heap (min/max)
  • Trie

Sets

  • Union Find
  • Bloom filter
  • HyperLogLog

Algorithms ωψγ

  • Kadane's Algorithm
  • Euclidean gcd
  • Fibonacci
  • Heap Sort
  • Modular Arithmetic
  • Sieve of Eratosthenes
  • BFS Breadth-First Search
  • DFS Depth-First Search
  • Karatsuba algorithm

Documentation

linear Structures

go doc -all ./linear | bat -l go

algorithms

go doc -all ./algo | bat -l go

Sets

go doc -all ./sets/ | bat -l go

trees

for p in ./trees/ ./trees/avl ./trees/heap; do go doc -all "$p"; done | bat -l go

Tests

go test ./tests/...

External references

https://xlinux.nist.gov/dads/

Disclosure

Unit tests and explanations written by claude

S
Description
No description provided
Readme 205 KiB
Languages
Go 100%