Загрузка страницы

Data Structures in Python: Singly Linked Lists -- Insertion

🎧: Become a better programmer with audiobooks of the #1 bestselling programming series: https://www.cleancodeaudio.com/ 4.6/5 stars, 4000+ reviews. Get 40% off all four with the code LUCID

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_tutorials/blob/master/data_structures/linked_list/singularly_linked_list/linked_list_insertion.py

Slides:
https://docs.google.com/presentation/d/1TCTdhhAAisXc1g7O2uh3OwjkUXeYbt18nDR-ba_6WOs/edit?usp=sharing

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

Видео Data Structures in Python: Singly Linked Lists -- Insertion канала LucidProgramming
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
20 января 2018 г. 20:59:26
00:27:02
Яндекс.Метрика