Example 1canJump()InputCopynums = [2,3,1,1,4]OutputCopytrueWhyJump 1 step to index 1, then 3 steps to the end.