Given an array arr, a start index and a target value, decide whether you can reach any index holding the target value. From index i holding X you may jump to i + X or i - X, staying inside the array…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.