Reorder List (LeetCode 143) | Full Solution with 3 step process and animations

  Рет қаралды 5,239

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Пікірлер: 20
@matthewzarate8851
@matthewzarate8851 5 ай бұрын
Wow, I had an identical problem to this that was on my data structures exam last Fall semester!
@matthewzarate8851
@matthewzarate8851 5 ай бұрын
Thanks for the helpful explanation too! After watching the idea behind the approach I was able to complete it on my own. Thx Nikhil!!
@nikoo28
@nikoo28 4 ай бұрын
always happy to hear that
@eduardoignacioroblessosa6349
@eduardoignacioroblessosa6349 6 ай бұрын
this problem should be marked as difficult >.
@yomamasofat413
@yomamasofat413 3 ай бұрын
well the easiest way to solve a linked list problem I think is to not use one in the first place
@kanaramjangid8563
@kanaramjangid8563 4 ай бұрын
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
@nikoo28
@nikoo28 4 ай бұрын
You can upload them anytime. Didn’t understand your question
@kanaramjangid8563
@kanaramjangid8563 3 ай бұрын
​@@nikoo28I have practised dsa problems only in vs code editor. Now I am submitting my solutions to leetcode profile
@amogu_07
@amogu_07 Ай бұрын
@@kanaramjangid8563y r u asking this stupid question man do whatever you want
@huynhduc9
@huynhduc9 4 ай бұрын
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..
@minhajurrahmanmahi9757
@minhajurrahmanmahi9757 3 ай бұрын
you are the best. keep going
@subramanya_l
@subramanya_l 6 ай бұрын
THANK YOU
@KittyInCali
@KittyInCali 2 ай бұрын
epic explanation
@ashok2089
@ashok2089 4 ай бұрын
Nice explanation!
@mdazizul-y7b
@mdazizul-y7b 2 ай бұрын
thank you
@adil_k
@adil_k 2 ай бұрын
You need to improve naming of variables. Thanks for the video.
@nikoo28
@nikoo28 2 ай бұрын
most of the names are self explanatory, which name confused you?
@atharva3433
@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
@nikoo28 Ай бұрын
@@atharva3433 thanks for the feedback...will incorporate it in my videos going ahead. :)
@atharva3433
@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!
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 20 МЛН
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
L24. Flattening a LinkedList | Multiple Approaches with Dry Run
32:58
take U forward
Рет қаралды 65 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 20 МЛН