20 responses to “Linked Lists in JavaScript from Scratch”
i guess contains method can be modified to directly return the address of the node previous to the node to be deleted and then a temporary pointer can be taken to point to the element that is next to the pointer returned by contains method and then it can be deleted directly. and it will save other iterations in remove method. correct me if i m wrong.
Hey Saad ! I loved the implementation. I checked out your channel for other videos… can you post videos to implement other data structures in JS as well… like Graphs, trees, AVL, BSTs… basically algorithms that people would normally implement using JAVA…
hey ! awesome video. Quick question in Linked-List… there is no property called 'next' in LinkedList constructor. Won't current = current.next in size function be undefined ?
Good video, thanks! I've been struggling to learn C# and hit the brick wall that is linked list. Coming from a little bit of a JavaScripty background, I think maybe I can figure it out now.
Awesome tutorial. I was reading about lists in the book eloquent javascript (http://eloquentjavascript.net/) and the lists explanation in chapter 4 was really confusing. This video was very helpful in understanding lists.
Hi Saad, amazing work very informative and educational. Could you please tell me what terminal you are using so that you can see your output on the bottom-left? Is that atom? How do you set it up since it's look better than using repl.it
20 responses to “Linked Lists in JavaScript from Scratch”
i guess contains method can be modified to directly return the address of the node previous to the node to be deleted and then a temporary pointer can be taken to point to the element that is next to the pointer returned by contains method and then it can be deleted directly. and it will save other iterations in remove method. correct me if i m wrong.
nicely commented video.. congrat 🙂
please tell, is there video about doubly linked list in javascript?
very nice, could do another video for hash table?
great vid, thanks!
Hey Saad ! I loved the implementation. I checked out your channel for other videos… can you post videos to implement other data structures in JS as well… like Graphs, trees, AVL, BSTs… basically algorithms that people would normally implement using JAVA…
hey ! awesome video. Quick question in Linked-List… there is no property called 'next' in LinkedList constructor. Won't current = current.next in size function be undefined ?
Good video, thanks! I've been struggling to learn C# and hit the brick wall that is linked list. Coming from a little bit of a JavaScripty background, I think maybe I can figure it out now.
very clear. thanks
One of the best tutorial. Thanks
Great explaination!
Great video! Thank you!
Don't be sad, you are good at teaching n_n
Good job. Thanks!
Awesome tutorial. I was reading about lists in the book eloquent javascript (http://eloquentjavascript.net/) and the lists explanation in chapter 4 was really confusing. This video was very helpful in understanding lists.
You should really do one with Binary Trees. You have talent doing this!! So educational and clear.
didn't know the prototype created just one reusable object! Thanks man, lotta useful tips in the talk
Thank you for this. Did you attend a bootcamp by chance? or was this self taught?
Hi Saad, amazing work very informative and educational. Could you please tell me what terminal you are using so that you can see your output on the bottom-left? Is that atom? How do you set it up since it's look better than using repl.it
could you please post the source code.