Module Sprague - Grundy theorem
Sprague - Grundy theorem
**Rarely used in official contests.**
This theorem is really useful to solve Nim stone-picking-game problems with constraints.
Resources
- [CP Algorithms: Sprague-Grundy theorem. Nim](https://cp-algorithms.com/game_theory/sprague-grundy-nim.html)
Problems