Linked Lists III - Inserting and Deleting from the Middle

Channel:
Subscribers:
2,640
Published on ● Video Link: https://www.youtube.com/watch?v=470CB9Ev05o



Duration: 1:09:42
275 views
1


We started off today talking about the RTX_ON assignment, and gave some pointers as to the more complicated parts of it.

We then moved on to the main topic of the lecture, which was how to insert and delete from the middle of a doubly linked list (I prefer doubly over singly, like, a lot). If you know you're not at the top or the bottom you can write very simple code to do it. It looks weird, which is why it's important to sketch it out in ink to understand what is happening first.

We ended by talking about the EU4 assignment, which has you building a Linked List node class, then a Linked List using the node class, then building an application using the Linked List.







Tags:
csci 41
linked lists
inserting
deleting
middle