A suffix automaton is the minimal deterministic finite automaton (DFA) that accepts exactly all substrings of a given string. If you’ve worked with suffix trees or suffix arrays, you know they’re…
Read more →
Every developer who’s implemented a hash table knows the pain of collisions. Two different keys hash to the same bucket, and suddenly you’re dealing with chaining, probing, or some other resolution…
Read more →
When you need to distribute data across multiple servers, the obvious approach is modulo hashing: hash the key, divide by server count, use the remainder as the server index. It’s simple, fast, and…
Read more →