filmov
tv
Longest Common Subsequence | Part 1 | Dynamic Programming | Interview Question(LeetCode #1143)
![preview_player](https://i.ytimg.com/vi/qc0Rg5K-H9Y/maxresdefault.jpg)
Показать описание
In this video I have covered the method of solving the Longest Common Subsequence Problem using Dynamic Programming. This is the first part of the video on LCS. In the second part I will cover the code for optimizing the space complexity further. Do go through the video and try the question yourself before looking at the coding part.
→ Topic - Dynamic Programming
→ Space complexity - O(n*m)
→ Time complexity - O(n*m)
__________________________________________________________________________
SUBSECTIONS
Intro : (0:00)
Question Overview (Reading the question) : (0:03)
In-depth Analysis (Dry running example problem) : (3:41)
Code it (Coding Solution) : (14:52)
Space-Time Complexity ( Isn’t it obvious?) : (17:56)
_________________________________________________________________________
Follow me on social media:
________________________________________________________________________
Also comment below questions you want me to cover next or any other suggestions or doubts are welcome?
#leetcode #C++ #programming #coding #interviewquestions #SuyashiSinghal #LCS #LongestCommonSubsequence #dynamicprogramming #dsa #dp
→ Topic - Dynamic Programming
→ Space complexity - O(n*m)
→ Time complexity - O(n*m)
__________________________________________________________________________
SUBSECTIONS
Intro : (0:00)
Question Overview (Reading the question) : (0:03)
In-depth Analysis (Dry running example problem) : (3:41)
Code it (Coding Solution) : (14:52)
Space-Time Complexity ( Isn’t it obvious?) : (17:56)
_________________________________________________________________________
Follow me on social media:
________________________________________________________________________
Also comment below questions you want me to cover next or any other suggestions or doubts are welcome?
#leetcode #C++ #programming #coding #interviewquestions #SuyashiSinghal #LCS #LongestCommonSubsequence #dynamicprogramming #dsa #dp
Комментарии