LeetCode
Odd Even Jump
Click
here
for an explanation.