e54607e9ed0eb175dc3553edf0fff767865b5a1e
Go / build (push) Successful in 26s
new file: tests/setsTests/unionFind_test.go
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
go doc -all ./linear | bat -l go
go doc -all ./algo | bat -l go
for p in ./trees/ ./trees/avl ./trees/heap; do go doc -all "$p"; done | bat -l go
Tests
go test ./tests/...
Disclosure
Unit tests and explanations written by claude
Description
Languages
Go
100%