Find the Longest Valid Obstacle Course at Each Position | META | Leetcode-1964 | Live Coding

Subscribers:
104,000
Published on ● Video Link: https://www.youtube.com/watch?v=sUtUgMW2kMY



Duration: 40:22
889 views
74


This is the 28th Video on our Dynamic Programming (DP) Playlist.
In this video we will try to solve a very very good and familiar DP Problem "Find the Longest Valid Obstacle Course at Each Position" (Leetcode - 1964)

Trust me, this will no longer be a Hard Problem. I will explain the intuition so easily that you will never forget.
We will understand how it's similar to LIS (Longest Increasing Subsequence Problem) and why its LIS approach gives TLE.
Then we will do a slight improvement and submit our solution.

We will do live coding after explanation and see if we are able to pass all the test cases.

Problem Name : Find the Longest Valid Obstacle Course at Each Position
Company Tags : META
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/DP/Find%20the%20Longest%20Valid%20Obstacle%20Course%20at%20Each%20Position.cpp
Leetcode Link : https://leetcode.com/problems/find-the-longest-valid-obstacle-course-at-each-position/


My Graph Concepts Playlist : https://youtu.be/5JGiZnr6B5w
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/@codestorywithMIK
Instagram : https://www.instagram.com/codestorywithmik/
Facebook : https://www.facebook.com/people/codestorywithmik/100090524295846/


╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝


#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish




Other Videos By codestorywithMIK


2023-05-12Count Ways To Build Good Strings | Recur + Memo | META | Leetcode-2466 | Live Code + Explanation
2023-05-12Pallaaaaaat #codestorywithMIK #leetcode #easyexplaination #hindi #hindiexplained #interview #india
2023-05-12Solving Questions With Brainpower | GOOGLE | Leetcode-2140 | Live Code + Explanation
2023-05-11codestorywithMIK - Aao story se code likhe 😎 #shorts #datastructures #leetcode #code #systemdesign
2023-05-11Shortest Path in Binary Matrix | Leetcode-1091 | Dijkstra in 2-D Matrix |Graph Concepts & Qns - 29
2023-05-10Uncrossed Lines | Microsoft, Amazon, Meta | Leetcode-1035 | Live Code + Explanation
2023-05-10Spiral Matrix II | Leetcode-59 | Amazon, Microsoft, Paytm | Explanation ➕ Live Coding
2023-05-08Spiral Matrix | Link In The Description | 👨🏻‍💻👩🏻‍💻
2023-05-08Network Delay Time | Leetcode-743 | GOOGLE | Graph Concepts & Qns - 28 | Explanation+Coding
2023-05-07Matrix Diagonal Sum | Leetcode - 1572 | MICROSOFT | Explanation ➕ Live Coding
2023-05-07Find the Longest Valid Obstacle Course at Each Position | META | Leetcode-1964 | Live Coding
2023-05-06Number of Subsequences That Satisfy the Given Sum Condition | AMAZON | Leetcode - 1498 | Live Coding
2023-05-05Maximum Number of Vowels in a Substring of Given Length | MICROSOFT | Leetcode - 1456 | Live Coding
2023-05-04Dota2 Senate | Brute + Slight Optimal | Leetcode - 649 | META | Explanation ➕ Live Coding 🧑🏻‍💻
2023-05-03Find the Difference of Two Arrays | Leetcode - 2215 | AMAZON | Explanation ➕ Live Coding
2023-05-01Leetcode 1491. Average Salary Excluding the Minimum and Maximum Salary (Using C++ STLs only)
2023-04-30Remove Max Number Of Edges To Keep Graph Fully Traversable | Leetcode - 1579 | DSU | GOOGLE | Live
2023-04-29Checking Existence of Edge Length Limited Paths | Leetcode - 1697 | DSU | GOOGLE | Explanation
2023-04-28Similar String Groups | Leetcode - 839 | DSU | AMAZON | Explanation ➕ Live Coding
2023-04-28Similar String Groups | Leetcode - 839 | DFS & BFS | AMAZON | Explanation ➕ Live Coding
2023-04-27Bulb Switcher | With Intuition | (AMAZON) | Leetcode-319 | Live Code + Explanation