Data Structures in Python: Singly Linked Lists -- Insertion

Publicado em: 20 Janeiro 2018
no canal de: LucidProgramming
95,793
1.9k

This video is sponsored by Oxylabs. Oxylabs provides market-leading web scraping solutions for large-scale public data gathering. You can receive data in JSON or CSV format and pay only per successful request. At the moment, Oxylabs offers a free trial.
https://oxylabs.io/?utm_source=lucidp...

In this video, we very briefly introduce the notion of the "linked list", specifically the "singly linked list" data structure. It is assumed that the viewer is somewhat familiar with this concept and has been exposed to it at some earlier level, for instance in the context of a computer science course, etc.

We review the basic trade-offs of linked lists versus arrays, and then we proceed to describe and program how one may insert data into a linked list. We investigate three different insertion methods:

- Append (add element to end of list)
- Prepend (add element to beginning of list)
- Add element after element in the list.

We proceed to implement these methods in Python.

The software written in this video is available at:
https://github.com/vprusso/youtube_tu...

Slides:
https://docs.google.com/presentation/...

Do you like the development environment I'm using in this video? It's a customized version of vim that's enhanced for Python development. If you want to see how I set up my vim, I have a series on this here:
http://bit.ly/lp_vim

If you've found this video helpful and want to stay up-to-date with the latest videos posted on this channel, please subscribe:
http://bit.ly/lp_subscribe


Nesta página do site você pode assistir ao vídeo on-line Data Structures in Python: Singly Linked Lists -- Insertion duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário LucidProgramming 20 Janeiro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 95,793 vezes e gostou 1.9 mil espectadores. Boa visualização!