Longest Palindromic Subsequence Dynamic Programming Explained with Code

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

NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. In this video, we discuss the problem Longest Palindromic Subsequence using dynamic programming. In this problem,

1. You are given a string str.
2. You are required to print the length of longest palindromic subsequence of string str.

#dp #dynamicprogramming #palindrome

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

I have seen a lot of youtubers teach and even a lot of paid instructors teach. But I haven't seen anyone explaining DP problems so well. I hope you get all the success you deserve.

Akshatved
Автор

This entire video took 41 minutes from scratch to finish. In a real interview as well, this can be explained. Hats off on this explanation and clarity!!

SameerShinde-
Автор

Sir aap sachme gifted teacher hai... Teacher sirf vohi log bann sakte hai Jo student ke level pe jaake unko samjha paaye aur aap me ye talent hai. Thank you so much sir!

snehatandri
Автор

41 minutes of honest Content. Your approach to question not only helps to understand the solution to question but also develops the intuition to approach questions. Thanks a lot!!

harshitha
Автор

No other can explain this much better than u. Really appreciate your work.

adityaojha
Автор

Ek bar mein samajh aa gaya itna clear explaination tha. Awesome video. Thanks for this

Ballistic_Bytes
Автор

The more videos I watch, the more I start respecting you sirji ! I like the way you explain things sirji ! Massive respect for you !! Hats off and thanks for the great explanation.

rushilahuja
Автор

Great Explanation, I can bet that no one could explain this, better than you, after getting your explanation i never needed to see code, saved this for future reference, thanks Sumeet sir for such a wonderful video .

rahulkaswan
Автор

U made my day sir!
U not only explained this well but in general made me realize when to use a 2-D DP table!
Thank u sir!😍
I should pay u my college

aniket
Автор

Sir after seeing the video of "count of palindromic subeqs". I managed to do this on my own.
Thank you Sir for the hard work.

guptapaaras
Автор

Perfect, part one explanation. I used it to create a recursion with memorization and it worked like a charm .

amitupadhyay
Автор

Hat off to you for making such great and detailed videos.

arpitgupta
Автор

LPS of a string is LCS(string, reverse string) as simple as that.

aakashyadav
Автор

Your video are guarantee that i will definitely get the approach..!!
Thank You Sir

HarivanshKripaVlogs
Автор

Really it's a very awesome video.
Very well explaintaion sir

spicyedutainment
Автор

there is a better approach using O(n) space, but I do appreciate your time and effort. Thanks 😃

ujjvalcodes
Автор

The "else if" part in line no. 16 and 17 are not required. However, the explanation is really awesome. Hats off to you.

talentpicker
Автор

Thank you Sir, your videos are helping me a lot to prepare for my upcoming placements.

akashmishra
Автор

Great way to explain the questions !!! Can you provide videos for other questions as well . I found this is the best channel to understand the questions

ashdavv
Автор

This video is best for learning part, but just to solve this question I have different approach,
a string is given we make b string by reversing a and then find longest common subsequence between these two strings and we got the length of longest palindromic subsequence

paryt
visit shbcf.ru