CaptionsMaker
.com
Data Structures in Python: Singly Linked Lists -- Insertion
Edit Subtitles
Download Subtitles
SRT
TXT
Title:
Description:
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
YouTube url:
https://www.youtube.com/watch?v=FSsriWQ0qYE
Created:
24. 8. 2020 14:54:38