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

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ย. 2024

ความคิดเห็น • 44

  • @AlgorithmsMadeEasy
    @AlgorithmsMadeEasy  3 ปีที่แล้ว +4

    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:
    ✅✅✅[ Tree Data Structure ] : th-cam.com/play/PLJtzaiEpVo2zx-rCqLMmcFEpZw1UpGWls.html
    ✅✅✅[ Graphs Data Structure ] : th-cam.com/play/PLJtzaiEpVo2xg89cZzZCHqX03a1Vb6w7C.html
    ✅✅✅[ December Leetcoding Challenge ] : th-cam.com/play/PLJtzaiEpVo2xo8OdPZxrpybGR8FmzZpCA.html
    ✅✅✅[ November Leetcoding Challenge ] : th-cam.com/play/PLJtzaiEpVo2yMYz5RPH6pfB0wNnwWsK7e.html
    ✅✅✅[ August Leetcoding Challenge ] : th-cam.com/play/PLJtzaiEpVo2xu4h0gYQzvOMboclK_pZMe.html
    ✅✅✅July Leetcoding challenges: th-cam.com/play/PLJtzaiEpVo2wrUwkvexbC-vbUqVIy7qC-.html
    ✅✅✅June Leetcoding challenges: th-cam.com/play/PLJtzaiEpVo2xIfpptnCvUtKrUcod2zAKG.html
    ✅✅✅May Leetcoding challenges: th-cam.com/play/PLJtzaiEpVo2wRmUCq96zsUwOVD6p66K9e.html
    ✅✅✅Cracking the Coding Interview - Unique String: th-cam.com/play/PLJtzaiEpVo2xXf4LZb3y_BopOnLC1L4mE.html
    Struggling in a question??
    Leave in a comment and we will make a video!!!🙂🙂🙂

  • @MrPanthershah
    @MrPanthershah 3 ปีที่แล้ว +3

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

  • @sanketsutar2523
    @sanketsutar2523 3 ปีที่แล้ว

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

  • @rajanitdep1702
    @rajanitdep1702 2 หลายเดือนก่อน

    Crystal clear explanation

  • @chakkaphanisimha5-yeariddp872
    @chakkaphanisimha5-yeariddp872 ปีที่แล้ว

    Very nice approach !!

  • @alxx736
    @alxx736 3 ปีที่แล้ว +2

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

  • @angadkochhar9885
    @angadkochhar9885 2 ปีที่แล้ว +2

    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?

    • @durgeshnandan5181
      @durgeshnandan5181 2 ปีที่แล้ว +1

      Yes thats correct.
      len > end - start would consider len thats equal toh end - start + 1 means if there are 2 palindromic substrings of equal lengths then it considers the second one.
      Eg : abaccc here ccc is considered as result. Where as if we write len > end - start + 1 it considers abc as result.

    • @AmitSharma-rk1mg
      @AmitSharma-rk1mg ปีที่แล้ว

      Correct

  • @sanskritisrivastava2242
    @sanskritisrivastava2242 3 ปีที่แล้ว +1

    Very clear and easy explanation. Thankyou.

  • @prakharsingh620
    @prakharsingh620 2 ปีที่แล้ว +1

    Nice explanation and animation

  • @rhythmbhatia8906
    @rhythmbhatia8906 2 ปีที่แล้ว +1

    Thanks for the explanation!

  • @nagendrabommireddi8437
    @nagendrabommireddi8437 ปีที่แล้ว +1

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

  • @mohitarora2190
    @mohitarora2190 2 ปีที่แล้ว

    Wow now thats a really good explanation

  • @rakesharigela4494
    @rakesharigela4494 3 ปีที่แล้ว +2

    great explanation

  • @scoobydoo7264
    @scoobydoo7264 2 ปีที่แล้ว +1

    Hey it's a great explaination thanks

  • @vishaldrugwar668
    @vishaldrugwar668 ปีที่แล้ว

    Good explanation 👍🏼

  • @shravsidol
    @shravsidol 2 ปีที่แล้ว +1

    Very well explained. :)

  • @i.vigneshdavid1698
    @i.vigneshdavid1698 3 ปีที่แล้ว +1

    Nice explanation 👍

  • @CoderVroni
    @CoderVroni 3 ปีที่แล้ว +1

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

    • @AlgorithmsMadeEasy
      @AlgorithmsMadeEasy  3 ปีที่แล้ว +3

      We have that approach on our radar. As that approach needs a more elaborate explanation, we are working on it.
      We will upload it as soon as possible in the coming days!! 🙂
      Happy coding!!

    • @CoderVroni
      @CoderVroni 3 ปีที่แล้ว

      @@AlgorithmsMadeEasy ohkk 😀 I'll be waiting.

    • @AlgorithmsMadeEasy
      @AlgorithmsMadeEasy  3 ปีที่แล้ว

      Manacher Algo:
      th-cam.com/video/IvakBbsAhUU/w-d-xo.html

    • @CoderVroni
      @CoderVroni 3 ปีที่แล้ว +1

      @@AlgorithmsMadeEasy Yep! Seen on LinkedIn. Thank you 🤗

  • @chebroluvarsha3637
    @chebroluvarsha3637 2 ปีที่แล้ว +1

    good explanation

  • @vaibhavmishra6068
    @vaibhavmishra6068 ปีที่แล้ว

    Neat clean and chrisp

  • @supremoluminary
    @supremoluminary 2 ปีที่แล้ว +1

    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?

  • @AmritAgarwal07
    @AmritAgarwal07 3 ปีที่แล้ว +1

    super

  • @preetkatiyar969
    @preetkatiyar969 ปีที่แล้ว +2

    very worst explanation

  • @ArshadIqbal_IEC_
    @ArshadIqbal_IEC_ 2 ปีที่แล้ว

    Ur explanation is wrong

  • @jaypalr
    @jaypalr 3 ปีที่แล้ว +2

    Not explained easily..

  • @somashisnath2427
    @somashisnath2427 3 ปีที่แล้ว

    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.

  • @maneetsiddhu3442
    @maneetsiddhu3442 3 หลายเดือนก่อน

    great explanation