🎉 Taro is joining Handshake and we need 10,000 Software Engineers in the US/Canada to advance AI 🎉
Taro Logo
622
2 Likes

DSA Crash Course [Part 85] - Array Stepper Approach

In this lesson, Alvin explores the strategy to solving the following interview problem:

Write a function, array_stepper, that takes in a list of numbers as an argument. You start at the first position of the list. The function should return a boolean indicating whether or not it is possible to reach the last position of the list. When situated at some position of the list, you may take a maxi