Data Structures in Python: Singly Linked Lists -- Insertion

Описание к видео Data Structures in Python: Singly Linked Lists -- Insertion

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

Комментарии

Информация по комментариям в разработке