public void Test4() { var solution = new LeetCode.P55.Solution(); var result = solution.CanJump(new int[] { 2, 0, 0 }); Assert.True(result); }
public void Test2() { var solution = new LeetCode.P55.Solution(); var result = solution.CanJump(new int[] { 3, 2, 1, 0, 4 }); Assert.False(result); }