Linked List Cycle 2 (LeetCode 142) | Full solution with mathematical proof | Study Algorithms

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

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

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

    Thanks a lot for such a detailed, simplified, and perfect explanation. I wish this will reach to max students.

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

      Thanks for all the support

  • @curiousnerd2253
    @curiousnerd2253 8 หลายเดือนก่อน +8

    Oh my god! Why is your solution not the most viewed solution?!. Just amazing! Thank you so much!

    • @nikoo28
      @nikoo28  7 หลายเดือนก่อน +1

      You're welcome!

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

    A teacher deserves the highest appreciation in the world.

  • @techtuber1344
    @techtuber1344 7 หลายเดือนก่อน +3

    best explanation buddy , you got my sub:)

    • @nikoo28
      @nikoo28  7 หลายเดือนก่อน +1

      Thanks for the sub! 😄

  • @jaydeepvasoya6243
    @jaydeepvasoya6243 6 หลายเดือนก่อน +3

    mathematical explanation is super...!! thanks a lot..!

  • @astonvaz2247
    @astonvaz2247 6 หลายเดือนก่อน +2

    Very well explained. Had seen the solution about moving fast pointer to head but couldn't agree, but now after watching the visual explanation, I'm very clear.
    Thanks again buddy. 👍

  • @SkipperPlaysYT
    @SkipperPlaysYT 4 หลายเดือนก่อน +1

    what a question and what an explaination!!!

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

    very very useful lectures sir..Thank you soo much for efforts in making such a clear and useful content..videos

  • @IshaZaka
    @IshaZaka 18 วันที่ผ่านมา

    @nikoo28 pk make more videos, your way of teaching and solutions are so good

  • @oLittleFive
    @oLittleFive 4 หลายเดือนก่อน

    Thanks for the detailed explanation! I have a question: Why is (n2 - 2n1) always a positive integer? Can it be negative?

  • @susmitapatil4847
    @susmitapatil4847 8 หลายเดือนก่อน +1

    Very good teacher he is. He explains every concept very well. keep doing good work. Thanks for providing such content for free

    • @nikoo28
      @nikoo28  7 หลายเดือนก่อน

      Thanks a ton

  • @AadeshKulkarni
    @AadeshKulkarni 7 หลายเดือนก่อน +1

    This mathematical proof is so beautifully explained! I'm loving it baba!

    • @nikoo28
      @nikoo28  6 หลายเดือนก่อน

      Happy to hear that!

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

    Your art of teaching is amazing

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

    bro is underrated, he deserve large following

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

    Brilliant explanation!!

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

    Great Explanation !!!!

  • @Salah-YT
    @Salah-YT 11 หลายเดือนก่อน +1

    👍😍😎...

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

    @nikoo28 At 14:22 Why only slow pointer? Why not fast pointer?

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

      Because slow pointer is advancing one node at a time and fast is jumping two nodes. Hence we use the movement of slow pointer to get the length.

    • @paparika567
      @paparika567 6 หลายเดือนก่อน

      no bro you can take slow pointer as well

    • @AzharKhan-e9m
      @AzharKhan-e9m 3 หลายเดือนก่อน

      you can take slow as well but make sure that fast also go only one step like fast=fast.next just as head=head.next beacoz distance is same by mathematical proofs so take as u need

  • @umtropaqualquer
    @umtropaqualquer 5 หลายเดือนก่อน

    Thanks for the explanation! was able to understand the logic behind it!

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

    Simplified explaination 👍🏻 Can you please suggest any book to study detailed data structures?

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

      I have links to some books in the video description. Check them out 🙂

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

      @@nikoo28 noted. Thanks

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

    good explanation

  • @AzharKhan-e9m
    @AzharKhan-e9m 3 หลายเดือนก่อน

    new subscriber

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

    great

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

    🙇🏻‍♂

  • @AramManukyan-r5e
    @AramManukyan-r5e ปีที่แล้ว +1

    perfect content!!!

  • @srikanthchebrolu1091
    @srikanthchebrolu1091 6 หลายเดือนก่อน

    💌

  • @gauravsharma5584
    @gauravsharma5584 11 หลายเดือนก่อน

    isnt floyd warshall graph algorithm ??

  • @HRUSHIKESHSHELAR-r9b
    @HRUSHIKESHSHELAR-r9b 9 หลายเดือนก่อน

    Hitting that subbscribe button as hard as I can.

  • @Walid-Sahab
    @Walid-Sahab ปีที่แล้ว

    Love from Pakistan ❤

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

    good explanation sir

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

    very well explained.

  • @Walid-Sahab
    @Walid-Sahab ปีที่แล้ว

    what an explanation ❤

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

    Very Nice bro

  • @RasulRasulzade-q6l
    @RasulRasulzade-q6l ปีที่แล้ว

    Great content!

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

    great explanation

    • @nikoo28
      @nikoo28  11 หลายเดือนก่อน

      glad you liked it

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

    Thanks

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

      tysmm...i wasnt able to understand any solution for this on yt until i saw your vid sir!!😭😭

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

    sir second approach is not fine when the loop starts ate head

    • @nikoo28
      @nikoo28  11 หลายเดือนก่อน

      can you please elaborate?