Sir doubt in this question

sir why is this ode failing test cases?

Hey @tejasddongare I have seen your code and you have declared too many variables and have also called it recursively. Moreover you haven’t considered side cases correctly and declaring dp in every test case , instead you should have make a global dp array to reduce time complexity. I would suggest you to take reference from this https://www.geeksforgeeks.org/minimum-number-of-jumps-to-reach-end-of-a-given-array/
As they have given good explanation as well as good implementation of code :slight_smile: hope this would help.