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

  Рет қаралды 9,881

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Пікірлер: 55
@curiousnerd2253
@curiousnerd2253 10 ай бұрын
Oh my god! Why is your solution not the most viewed solution?!. Just amazing! Thank you so much!
@nikoo28
@nikoo28 9 ай бұрын
You're welcome!
@jayachandranpm3981
@jayachandranpm3981 2 жыл бұрын
A teacher deserves the highest appreciation in the world.
@Unknown373d
@Unknown373d 2 ай бұрын
bro is underrated, he deserve large following
@shraddhajain8935
@shraddhajain8935 3 жыл бұрын
Thanks a lot for such a detailed, simplified, and perfect explanation. I wish this will reach to max students.
@nikoo28
@nikoo28 3 жыл бұрын
Thanks for all the support
@susmitapatil4847
@susmitapatil4847 10 ай бұрын
Very good teacher he is. He explains every concept very well. keep doing good work. Thanks for providing such content for free
@nikoo28
@nikoo28 9 ай бұрын
Thanks a ton
@jaydeepvasoya6243
@jaydeepvasoya6243 8 ай бұрын
mathematical explanation is super...!! thanks a lot..!
@theguywhofilmss
@theguywhofilmss 9 ай бұрын
best explanation buddy , you got my sub:)
@nikoo28
@nikoo28 9 ай бұрын
Thanks for the sub! 😄
@AadeshKulkarni
@AadeshKulkarni 9 ай бұрын
This mathematical proof is so beautifully explained! I'm loving it baba!
@nikoo28
@nikoo28 8 ай бұрын
Happy to hear that!
@astonvaz2247
@astonvaz2247 8 ай бұрын
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. 👍
@azharsofi2854
@azharsofi2854 Жыл бұрын
Your art of teaching is amazing
@SkipperPlaysYT
@SkipperPlaysYT 6 ай бұрын
what a question and what an explaination!!!
@darkexodus6404
@darkexodus6404 Жыл бұрын
Brilliant explanation!!
@CHANDUMEGHANADEVI
@CHANDUMEGHANADEVI 2 ай бұрын
very very useful lectures sir..Thank you soo much for efforts in making such a clear and useful content..videos
@umtropaqualquer
@umtropaqualquer 7 ай бұрын
Thanks for the explanation! was able to understand the logic behind it!
@hieua3137
@hieua3137 4 ай бұрын
Great Explanation !!!!
@shiva6390
@shiva6390 5 күн бұрын
excellent sir., thank you 😘
@oLittleFive
@oLittleFive 6 ай бұрын
Thanks for the detailed explanation! I have a question: Why is (n2 - 2n1) always a positive integer? Can it be negative?
@Walid-Sahab
@Walid-Sahab Жыл бұрын
what an explanation ❤
@tias9719
@tias9719 2 жыл бұрын
Simplified explaination 👍🏻 Can you please suggest any book to study detailed data structures?
@nikoo28
@nikoo28 2 жыл бұрын
I have links to some books in the video description. Check them out 🙂
@tias9719
@tias9719 2 жыл бұрын
@@nikoo28 noted. Thanks
@yixiangzhang2834
@yixiangzhang2834 Жыл бұрын
very well explained.
@mubeenakabeer6850
@mubeenakabeer6850 5 ай бұрын
good explanation
@DRake-h5t
@DRake-h5t Ай бұрын
Love it !!! Thanks
@shivamverma4282
@shivamverma4282 21 күн бұрын
amazing sir
@adityaa2303
@adityaa2303 Жыл бұрын
good explanation sir
@smitdumore1064
@smitdumore1064 Жыл бұрын
great explanation
@nikoo28
@nikoo28 Жыл бұрын
glad you liked it
@AramManukyan-r5e
@AramManukyan-r5e Жыл бұрын
perfect content!!!
@darkexodus6404
@darkexodus6404 Жыл бұрын
@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 8 ай бұрын
no bro you can take slow pointer as well
@AzharKhan-e9m
@AzharKhan-e9m 5 ай бұрын
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
@HRUSHIKESHSHELAR-r9b
@HRUSHIKESHSHELAR-r9b 11 ай бұрын
Hitting that subbscribe button as hard as I can.
@RakeshYadav-cm8wp
@RakeshYadav-cm8wp Ай бұрын
can we remove a loop and return just a straight LinkedList? just asking
@RasulRasulzade-q6l
@RasulRasulzade-q6l Жыл бұрын
Great content!
@Salah-YT
@Salah-YT Жыл бұрын
👍😍😎...
@IshaZaka
@IshaZaka 2 ай бұрын
@nikoo28 pk make more videos, your way of teaching and solutions are so good
@gauravsharma5584
@gauravsharma5584 Жыл бұрын
isnt floyd warshall graph algorithm ??
@infinite639
@infinite639 2 жыл бұрын
Very Nice bro
@chouhanpriyanka2305
@chouhanpriyanka2305 Ай бұрын
GOAT
@AzharKhan-e9m
@AzharKhan-e9m 5 ай бұрын
new subscriber
@Unknown373d
@Unknown373d 2 ай бұрын
great
@Walid-Sahab
@Walid-Sahab Жыл бұрын
Love from Pakistan ❤
@manjarijha7755
@manjarijha7755 2 жыл бұрын
Thanks
@kashishjaiswal9303
@kashishjaiswal9303 Жыл бұрын
tysmm...i wasnt able to understand any solution for this on yt until i saw your vid sir!!😭😭
@srikanthchebrolu1091
@srikanthchebrolu1091 8 ай бұрын
💌
@kartikluthra6621
@kartikluthra6621 4 ай бұрын
🙇🏻‍♂
@BhavanaHemaSree
@BhavanaHemaSree Жыл бұрын
sir second approach is not fine when the loop starts ate head
@nikoo28
@nikoo28 Жыл бұрын
can you please elaborate?
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 29 МЛН
2 Years of C++ Programming
8:20
Zyger
Рет қаралды 9 М.