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. 👍
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
Oh my god! Why is your solution not the most viewed solution?!. Just amazing! Thank you so much!
You're welcome!
A teacher deserves the highest appreciation in the world.
bro is underrated, he deserve large following
Thanks a lot for such a detailed, simplified, and perfect explanation. I wish this will reach to max students.
Thanks for all the support
mathematical explanation is super...!! thanks a lot..!
Very good teacher he is. He explains every concept very well. keep doing good work. Thanks for providing such content for free
Thanks a ton
This mathematical proof is so beautifully explained! I'm loving it baba!
Happy to hear that!
best explanation buddy , you got my sub:)
Thanks for the sub! 😄
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. 👍
Your art of teaching is amazing
what a question and what an explaination!!!
Brilliant explanation!!
very very useful lectures sir..Thank you soo much for efforts in making such a clear and useful content..videos
Great Explanation !!!!
Thanks for the explanation! was able to understand the logic behind it!
excellent sir., thank you 😘
what an explanation ❤
Thanks for the detailed explanation! I have a question: Why is (n2 - 2n1) always a positive integer? Can it be negative?
Love it !!! Thanks
amazing sir
perfect content!!!
good explanation
Simplified explaination 👍🏻 Can you please suggest any book to study detailed data structures?
I have links to some books in the video description. Check them out 🙂
@@nikoo28 noted. Thanks
very well explained.
Great content!
great explanation
glad you liked it
can we remove a loop and return just a straight LinkedList? just asking
good explanation sir
Hitting that subbscribe button as hard as I can.
@nikoo28 At 14:22 Why only slow pointer? Why not fast pointer?
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.
no bro you can take slow pointer as well
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
👍😍😎...
GOAT
isnt floyd warshall graph algorithm ??
new subscriber
Love from Pakistan ❤
Very Nice bro
@nikoo28 pk make more videos, your way of teaching and solutions are so good
great
Thanks
tysmm...i wasnt able to understand any solution for this on yt until i saw your vid sir!!😭😭
💌
🙇🏻♂
sir second approach is not fine when the loop starts ate head
can you please elaborate?