Optimal game strategy -2

https://ide.codingblocks.com/s/61409 here is my first dp approach can you please tell me what wrong in my code it pass one test case and gives two time limit…

this is not resolved please check my code

this is not resolved please reply as soon possible

@Khushboo please debug it i am waiting since morning

@proRram please help in debuging

hey neeraj, you have not updated your answer in the meme array… so your code is working just like reccursion.

1 Like