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-

1 Like

I’ll try to understand the theory from the links you gave, thanks

1 Like

similar problem is explained in this book

hope this helps

1 Like

Thanks for the book ^^

1 Like