Submodule 7 of 7
Polynomials, Moduli & Hashing Sorcery
NTT-friendly primes like 998244353, oversized convolutions, recovering linear recurrences, fast modular reduction, and hashes that survive anti-tests.
Question Difficulty Success
Learning resources
- OI Wiki, Number theoretic transform and its moduli oi-wiki.org (opens in a new tab)
- AtCoder Library, convolution documentation atcoder.github.io (opens in a new tab)
- OI Wiki, Berlekamp-Massey algorithm oi-wiki.org (opens in a new tab)
- cp-algorithms, Montgomery multiplication cp-algorithms.com (opens in a new tab)
- Chess Programming Wiki, Zobrist hashing chessprogramming.org (opens in a new tab)
- OI Wiki, Tree hashing oi-wiki.org (opens in a new tab)