Jump game | Leetcode #55 | Valley peak approach

Published: 25 April 2020
on channel: Techdose
192,035
4k

This video explains a very important programming interview problem which is to find if it is possible to jump indices of an array and reach the last index of array or not. We have some given constraints which are, we can't jump from 0 valued index and that we always start at index 0. I have shown the solution using backtracking intuition and a very beautiful observation using valley peak approach. I have taken easily comprehend-able examples and finally explained the code for the same. As usual, CODE LINK is given in the description below. If you find any difficulty or have any query then do COMMENT below. This problem is from Day 25 of the leetcode 30 days April coding challenge. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)


CODE LINK: https://gist.github.com/SuryaPratapK/...


Watch video Jump game | Leetcode #55 | Valley peak approach online without registration, duration hours minute second in high quality. This video was added by user Techdose 25 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 192,035 once and liked it 4 thousand people.