Minimum jumps required getting timelimit

can anyone tell me how to implement dp in this code
code link–> https://ide.codingblocks.com/s/132459

hey @Aakash-Gupta-2308897339337431 is logic clear to you?

no sir,can you please explain .It will be a great help.I have just done what i have understood though i think i am wrong.

Let’s first discuss ur logic on chat.