You have been provided with input array of integers. You start with initial position at the first index of this input array, and each element of the array tells you the exact distance you can jump from that position. Find if you can reach the end (Return true if you can reach the last index, or false if not).
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers11
Suggested Problems
-
17457 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
652 Solvers
-
Volume of a sphere given its surface area
156 Solvers
-
18782 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!