A focused collection of algorithm patterns implemented in idiomatic Go, designed for FAANG-style interviews and real-world intuition.
Each folder is self-contained and includes:
a concise README (what it solves, invariants, complexity, common pitfalls, katas)
_test.go files with core tests plus TODO edge-case tests you implement yourself
Read the README (focus on invariants and typical interview formulations).
Implement the missing functions (no solution code is provided by design).
Run tests, then implement the TODO edge-case tests for mastery.
Running tests
Run everything:
make test
go run gotest.tools/gotestsum@latest --format=testdox
github.com/medunes/go-algo/bfs:
✓ BFS core traversal (0.00s)
✓...
DONE 36 tests in 0.081s