this code is giving appropriate output but still i am unable to pass all the test cases
Can you plz help me to pass the test case
for the input
12
output is 2
but your output is 5
first hulk take jump of 8 and then jump of 4 to reach 12
Correct Way of doing
Reference Code