Jump Game - LeetCode 55 - JavaScript

preview_player
Показать описание


Step by step walk through of the solution to the popular Amazon coding interview question, Jump Game.

LeetCode 55

JavaScript

0:00 Intro
1:01 Explanation
4:21 Code

#softwareengineering #javascript #leetcode
Рекомендации по теме
Комментарии
Автор

Please start making videos again. By far the best videos I have seen on javascript

mridulrawat
Автор

Great solution! I believe you should be able to further improve this by starting your loop from the second to last index (let i = nums.length - 2). Since, we are already at the target when on the last index. Cheers!

sahilseven
Автор

A small correction in my point of view if we can start the for loop from nums.length-2, instead of nums.length-1, we can reduce one iteration right still this works. Bcz ee need to check the last one in the array as its our target. So we can exclude it.

krishnachaitanya
Автор

Hello!! Can I ask whether you have any plan to make a video of Jump Game2 with your wonderful explanation? :)

aviationlover_sherry
welcome to shbcf.ru