DP - 6: Longest Common Subsequence

  Рет қаралды 5,485

Coding Simplified

Coding Simplified

Күн бұрын

Пікірлер: 23
@ayushjauhari8953
@ayushjauhari8953 2 жыл бұрын
It's quite good that you explain both the top-down and bottom-up approaches in your videos.
@CodingSimplified
@CodingSimplified 2 жыл бұрын
Thanks for your nice feedback. Sure, I'll take care this.
@Dyslexic_Neuron
@Dyslexic_Neuron 4 жыл бұрын
This is a good comprehensive channel . Hope it gets numbers of subscribers it deserves
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks.
@anandjha5353
@anandjha5353 4 жыл бұрын
Your explanation is really awesome. God bless you. Thanks a lot for these videos.
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks. Keep Watching.
@tharunprabakaran
@tharunprabakaran 4 жыл бұрын
Best example in KZbin for LCS
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks. Keep Watching.
@kumar41440
@kumar41440 4 жыл бұрын
This is the only video you ever need to watch to ace this leetcode question: leetcode.com/problems/longest-common-subsequence/
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks. Keep Watching.
@AyushKumar-vh7pg
@AyushKumar-vh7pg 4 жыл бұрын
Thank You so much for your effort Sir, Please add more videos on DP and if possible please add them fast.
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Sure, will try to add DP videos on regular basis, today also we've launched DP-7: Longest common Substring
@xavier4107
@xavier4107 2 жыл бұрын
I got another way... First we'll store all subsequences in arraylist... Then check for longest subsequence using 2nd string & each string from arraylist using .contains() method...
@sathwikkuppam713
@sathwikkuppam713 3 жыл бұрын
You explain very well But at the beginning of the question please give us some 4 to 5 test cases so that we understand better
@CodingSimplified
@CodingSimplified 3 жыл бұрын
Thanks for your nice feedback. Yup, that make sense. Sure I'll add more on it.
@anandbalaji8136
@anandbalaji8136 4 жыл бұрын
Hi Sir, Waiting for next video:)Thank you very much for your contributions..It really helps a lot!
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Thanks for your feedback. Sure, tomorrow I'll be launching next video on DP.
@kukroid6873
@kukroid6873 4 жыл бұрын
Can you pls explain this part again 28:19 I am confused how are you checking a 2d matrix. When you are checking for 'b' you should check for : (b,a) - > 0 (b ,ab )-> 1 (b, abc) -> 1
@CodingSimplified
@CodingSimplified 4 жыл бұрын
If you see in 2nd row, we've 'b', now we'll compare this with all values in column a, b, d so basically in this row, we'll compare b - a, b - b, b - d & as per equality we're updating values. - Now effectively what they're suggesting is when I'm in 2nd row it means I've already covered 'a' which was in 1st row, so we've ab in 1st string & now In 2nd string we've characters as we're moving column wise so 1st effectively it represent (ab, Null) (ab, a), (ab, ab), (ab, abd) (ab, abde) - Please see video again if you've confusion. Thanks.
@kukroid6873
@kukroid6873 4 жыл бұрын
@@CodingSimplified Thank you so much. That makes sense
@Dyslexic_Neuron
@Dyslexic_Neuron 4 жыл бұрын
The recursive runtime should be 2^n + 2^m and not 2^(n+m)
@CodingSimplified
@CodingSimplified 4 жыл бұрын
Time complexity of recursive is exponential of the power 2, so it's 2^n, but as we've 2 strings, so it's 2^(n+m)
@Dyslexic_Neuron
@Dyslexic_Neuron 4 жыл бұрын
@@CodingSimplified but they r two different recursions right ? Why should they be multiplied ?
DP - 7: Longest common Substring
20:52
Coding Simplified
Рет қаралды 11 М.
DP - 9:  Longest Palindrome Subsequence
30:29
Coding Simplified
Рет қаралды 10 М.
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 23 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 133 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 87 МЛН
DP - 1: Get Fibonacci Number | DP Introduction
22:28
Coding Simplified
Рет қаралды 13 М.
Longest Common Subsequence
34:35
GATEBOOK VIDEO LECTURES
Рет қаралды 5 М.
Find The Longest Increasing Subsequence - Dynamic Programming Fundamentals
19:21
some very nice values of cosine
16:11
Michael Penn
Рет қаралды 1,6 М.
Longest Common Subsequence (Dynamic Programming)
10:13
CS Dojo
Рет қаралды 138 М.
How to crack Google Technical Interviews
13:36
Coding Simplified
Рет қаралды 1,3 М.
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36