go-algo

module
v0.0.0-...-78abb37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2026 License: MIT

README

go-algo

Go Report Card Go Reference Tests

image

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

Contents

How to use this repo

  1. Pick a folder.
  2. Read the README (focus on invariants and typical interview formulations).
  3. Implement the missing functions (no solution code is provided by design).
  4. 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL