https://ide.codingblocks.com/s/292307
plz check the recursive solution i made it is not correct plz help to rectify
Can u plz help me in minimum jumps to reach end problem
Array is 0 based index in main function but u are using 1 based indexing in recursion.
i made this logic that range(for loop) for first element(ar[0]) and the loop starts from ar[1]
if u can rectify it plz do this i am not able to do
and also geeksforgeeks solution is not very intuitive. plz make changes in my code