Tag: Algorithms

Rate Limiting Algorithms Compared

Compare six rate limiters by boundary behavior, burst fairness, precision, memory, weighted costs, clocks, headers, and deterministic tests.

2026-07-13 · 18 min read

The Trie: Fast Prefix Search Explained

Build a Unicode-aware trie for exact lookup, prefix search, ranked autocomplete, deletion, and production-scale tradeoffs.

2026-06-20 · 15 min read

String Matching: KMP, Z, and Rolling Hashes

Compare deterministic and hash-based substring search while making collisions, Unicode units, and verification contracts explicit.

2026-05-15 · 14 min read

Graph Algorithms Every Engineer Should Know

A practical guide to choosing, implementing, and testing graph traversal, shortest-path, and dependency algorithms in TypeScript.

2026-03-21 · 14 min read