You are given an integer array arr. From some starting index, you can make a series of jumps. The 1st, 3rd, 5th, ... jumps in the series are called odd-numbered jumps, and the (2nd, 4th, 6th, ... jumps in the series are called even-numbered jumps. Note that the jumps are numbered, not the indices.
...
Return the number of good starting indices.
On this page of the site you can watch the video online Odd Even Jump || Leetcode || Asked in Google Interview || Improved code with a duration of hours minute second in good quality, which was uploaded by the user ExpertFunda 26 August 2024, share the link with friends and acquaintances, this video has already been watched 402 times on youtube and it was liked by 2 viewers. Enjoy your viewing!