How to solve GRUMPMA from Dcode19

Can anybody tell me what approach should we be taking to solve this problem!
Thanks for the help ! Thank you!

Check his editorial its good!

2 Likes

Thanks a lot!

2 Likes

your welcome :slight_smile:

1 Like

Hi @sudipt1999
For more explained solution. You can refer to the editorial here at

1 Like