How It Works?
Determine if you can reach the last element on a positive/negative numbers array, according to these rules:
- You start at first element.
- Current element value indicates how many steps you can take at most. (Example: if the value is 3 you can take 0, 1, 2 or 3 steps).
