Longest Palindromic Substring | Live Coding with Explanation | Leetcode - 5

preview_player
Показать описание
This video explains the solution with O(1) space complexity for Longest palindromic substring leetcode 5.

To support us you can donate

Check out our other popular playlists:

If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful.

#coding #leetcode #programminglife #programmingisfun #programmer #tech #software #codinglife #leetcode
Рекомендации по теме
Комментарии
Автор

We hope you all are enjoying our videos!!! Don't forget to leave a comment!!! Please like the video to support us!!!

Questions you might like:

Struggling in a question??

Leave in a comment and we will make a video!!!🙂🙂🙂

AlgorithmsMadeEasy
Автор

I saw a lot of videos but didn't understand...but here I got it.

sanketsutar
Автор

Great explanation and not overly complicated, surely useful verbiage for interview.

MrPanthershah
Автор

In 6:40 , Why do you say that Index is 2 if the graphic you show, the index is 3 ?

alxx
Автор

Very clear and easy explanation. Thankyou.

sanskritisrivastava
Автор

it not passsing in geeks for geeks .because of some addition property could you please look at that

nagendrabommireddi
Автор

Wow now thats a really good explanation

mohitarora
Автор

Hey it's a great explaination thanks

scoobydoo
Автор

I had a doubt ma'am, we are calculating len which refers to the actual length of our palindrome but we're comparing it with end-start, which would give us one value less, shouldn't it be len>end-start+1?

angadkochhar
Автор

Awesome Explanation ☺ but it would be better if you explain O(n) approach 😅

CoderVroni
Автор

You spend so long to explain what palindromes are but when it came to the coding, it was too fast.

I don't understand.

"If you're having an even length, say six, my i would be index 2."

Why? Why your i is index 2. Can you explain?

supremoluminary
Автор

On a statement: Your both teaching this subject in a very bad way. You both are juniors and please concentrate on understanding OOPS and DS first before teaching. LPS can be modified and be used in many other ways but with this and your partner's explanation, the person who is listening can only memorize the answer, at least do a proper code walk-through. In the interview it will be never like this, we take it every day.

somashisnath