Sprague-Grundy Theorem
Ran into this after seeing this 2100 problem https://codeforces.com/contest/2004/problem/E
- Shayan mentioned it in the video https://www.youtube.com/watch?v=lLxXb5tDjs0&t=3197s
Resources:
Ran into this after seeing this 2100 problem https://codeforces.com/contest/2004/problem/E
Resources: