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
Thanks a lot for such a detailed, simplified, and perfect explanation. I wish this will reach to max students.
Thanks for all the support
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.
best explanation buddy , you got my sub:)
Thanks for the sub! 😄
mathematical explanation is super...!! thanks a lot..!
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. 👍
what a question and what an explaination!!!
very very useful lectures sir..Thank you soo much for efforts in making such a clear and useful content..videos
@nikoo28 pk make more videos, your way of teaching and solutions are so good
Thanks for the detailed explanation! I have a question: Why is (n2 - 2n1) always a positive integer? Can it be negative?
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!
Your art of teaching is amazing
bro is underrated, he deserve large following
Brilliant explanation!!
Great Explanation !!!!
👍😍😎...
@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
Thanks for the explanation! was able to understand the logic behind it!
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
good explanation
new subscriber
great
🙇🏻♂
perfect content!!!
💌
isnt floyd warshall graph algorithm ??
Hitting that subbscribe button as hard as I can.
Love from Pakistan ❤
good explanation sir
very well explained.
what an explanation ❤
Very Nice bro
Great content!
great explanation
glad you liked it
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?