canJump = (nums) => {
    const memo = new Array(nums.length).fill(0);
    memo[memo.length - 1] = 1;
    
    return canJumpFromIndex(nums, memo);
}
Time O(N^2) | Space O(N)
@param {number[]} nums
@return {boolean}