JavaScript Data Structures - 15 - Linked List Prepend

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

📱 Follow Codevolution

Linked List Prepend
JavaScript Data Structures
Data Structures in JavaScript
Рекомендации по теме
Комментарии
Автор

The best thing about your series is that videos are very short & sweet enough for explaining which makes people's mind to watch complete video & go for next
Thank you for making such great series 🙏

swapnilraut
Автор

Step by step, best so far on the data structures!

shivanidalal
Автор

You made linked list look like it is so easy, thank you for your teaching.

samuelokeke
Автор

Pls dont stop this series and also make dynamic programming videos
Pls pls 🙏😭
Thank you

arytiwa
Автор

thank you very much, very helpful video

mrjakhongirwebdev
Автор

Thanks so much.
I have a small question:
can't prepend() be like this:
```js []
prepend(val) {
this.head = new Node(val, this.head);
this.size++;
}
```
isn't it simpler and works fine ?

yous-thenics