Wow, I had an identical problem to this that was on my data structures exam last Fall semester!
@matthewzarate88515 ай бұрын
Thanks for the helpful explanation too! After watching the idea behind the approach I was able to complete it on my own. Thx Nikhil!!
@nikoo284 ай бұрын
always happy to hear that
@eduardoignacioroblessosa63496 ай бұрын
this problem should be marked as difficult >.
@minhajurrahmanmahi97573 ай бұрын
you are the best. keep going
@KittyInCali2 ай бұрын
epic explanation
@ashok20894 ай бұрын
Nice explanation!
@yomamasofat4133 ай бұрын
well the easiest way to solve a linked list problem I think is to not use one in the first place
@kanaramjangid85634 ай бұрын
Sir i have been learning dsa from last 4 months and practice on my vs code . Can i now upload my solutions to leedcode account sooner or later
@nikoo284 ай бұрын
You can upload them anytime. Didn’t understand your question
@kanaramjangid85633 ай бұрын
@@nikoo28I have practised dsa problems only in vs code editor. Now I am submitting my solutions to leetcode profile
@amogu_07Ай бұрын
@@kanaramjangid8563y r u asking this stupid question man do whatever you want
@subramanya_l6 ай бұрын
THANK YOU
@huynhduc94 ай бұрын
For a list with 4 nodes, and when we are finding the midpoint, doesn't p1 stop at the node before the midpoint? 4 -> 8 ->15 -> 16 It stops at 8..
@mdazizul-y7b2 ай бұрын
thank you
@adil_k2 ай бұрын
You need to improve naming of variables. Thanks for the video.
@nikoo282 ай бұрын
most of the names are self explanatory, which name confused you?
@atharva3433Ай бұрын
@@nikoo28 for example the slow and fast pointer could have been named slow and fast the code is pretty confusing tbh despite the explanation being good. Either better var names or you could explain which var is doing what. Normally i love your explanations but this one felt like you explained the concept but there was a gap between conceptual understanding and practical implementation. This was not a deal breaker for me as i took help of chatgpt to understand what var does what but this might be something you could consider improving on. Other than that great video as always.
@nikoo28Ай бұрын
@@atharva3433 thanks for the feedback...will incorporate it in my videos going ahead. :)
@atharva3433Ай бұрын
@@nikoo28 I haven't had this problem at any other time, and your videos are great for understanding concepts. Slow-fast pointer and bucket sort were two algorithms that I couldn't wrap my head around when I first started, but your videos helped me a great deal. Thanks for your efforts!