Here’s the Problem
Went through the editorial, it said something like grundy theorem and all which I didn’t follow.
Tell me some possible approach or a dummy solution.
Here’s the Problem
Went through the editorial, it said something like grundy theorem and all which I didn’t follow.
Tell me some possible approach or a dummy solution.
I havent still solved this question, so i cant help in solution, but you mentioned that -
like grundy theorem and all which I didn't follow.
I think you can go through these links if you have problem understanding them-
Written
Video-
I’ll try to understand the theory from the links you gave, thanks
similar problem is explained in this book
hope this helps
Thanks for the book ^^