Suffix Structures Checkpoint

Rolling hash, suffix arrays, and suffix automata.


1. Rolling hash lets you compare substrings in:
2. Using two moduli reduces the chance of hash collisions.
3. A suffix array is:
4. Suffix automata can compute: