You are given an integer array nums where nums[i] is the maximum length of a jump you can make from that position. You are initially positioned at the first index. Return True if you can reach the last index, or False otherwise.
- An array of integers
nums.
- Boolean value.
- 1 <= nums.length <= 10^4
- 0 <= nums[i] <= 10^5
Input: nums = [2, 3, 1, 1, 4]
Output: True
Explanation: Jump 1 step from index 0 to 1, then 3 steps to the last index.