Interview Guides
Given an integer array nums where nums[i] is the maximum jump length from index i, return the minimum number of jumps needed to reach the last index starting from index 0. If the last index cannot be reached, return -1.
1 <= len(nums) <= 10^50 <= nums[i] <= 10^50 when the array has only one element-1 if the last index cannot be reached