Pls help in this ques


Not able to find the error

I think you’ve asked a doubt about the wrong question. You asked about jump and your code is of some graph problem. Can you please tag the right question and ask this doubt again.