← 返回 microsoft 的题目列表Jump Game Similar Problem
类型:online_judge
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine if you can reach the last index.
Example
Input
[2, 3, 1, 1, 4]