LeetCode - Reverse Linked List Solution

preview_player
Показать описание


Preparing For Your Coding Interviews? Use These Resources
————————————————————

Other Social Media
----------------------------------------------

Show Support
------------------------------------------------------------------------------

#coding #programming #softwareengineering
Рекомендации по теме
Комментарии
Автор

When you drew it in the end with the steps it just snapped in my brains and I ynderstood everything xd

eKizify
Автор

Watched the whiteboard explanation 2 times, went back and looked at what next_node was equal to (i forgot) watched the whiteboard explanation a 3rd time and understood it! Watched it a 4th time and realized he was making perfect sense in his explanation. Nick, Just found your videos today through Kevin Naughton (who I also found today) Thanks for making these videos.

curtism
Автор

Had to watch it a couple of times to understand but at the end it was crystal clear.
Thanks Nick !!!

soumyadeepmitra
Автор

Your explanation is much easier to understand than the other youtube videos I have watched on this topic. Thank you.

GagandeepSingh-lzbg
Автор

A good way to think about this, is you're flipping the pointers. Instead of each node pointing to their next node, you flip them to point to the node before, instead of 1 pointing to 2, 2 points to 1. You start this chain by first setting a new "head" node, to be a new node that comes before the head node.

toastyshrimp
Автор

By far the best explanation I have seen, the whiteboard visual is what helped! This is fantastic, Nick!

AliMalik-ytex
Автор

I was struggling for hours before watching this video, thank you very much! Your drawing at the end triggered my Eureka effect.

icemotion
Автор

this question is so famous, it's basically a meme

jacobl
Автор

i like the fast pace and simple explanations for complicated topics really works for my adhd brain :)

merxgrc
Автор

thanks for the visual on the whiteboard!

ahmedaj
Автор

Thank you so much nick, couldn't understand at first then i went back watched again did some copy work and got it

aaaminahammm
Автор

You are such a blessing. You saved me hours of confusion.

alexirabor
Автор

Please use white board for better understanding of solutions. It's really helpful.

letsplay
Автор

This is the greatest explanation that I've found about reverse linked list

nipunsandamal
Автор

your way to explain makes sense in a way I can really understand. Thank

coolengineering
Автор

literally i'm watching this video ten times, kudos to your efforts.

tonyhiga
Автор

Breehhhh!!! Thank you so much I was staring at this for forever trying to figure it . Seems so easy the way you explain

brie
Автор

always like your explanation, very clear and easy to understand

kelvincheung
Автор

Super clear when you see it drawn. Thank you 🙏

MrRobeezy
Автор

lmao 5:16, the classic "you know what I'm sayin'?"

Yes, I do believe I know what you're sayin'.

datboi_gee