Pseudocode - What is a pseudocode? - Why do we use it? [ Section 3. 1. 2 ]
Singly linked lists What are they? [ Section 3. 2 ]
Singly linked lists Which classes and methods do we need? [ Section 3. 2 ]
Singly linked lists Inserting an element - at the beginning [ Section 3. 2 ]
Singly linked lists Inserting an element - at the end [ Section 3. 2 ]
Singly linked lists Deleting an element - at the beginning [ Section 3. 2 ]
Singly linked lists Deleting an element - at the end ? [ Section 3. 2 ]
Doubly linked lists Picture: What classes do we need? [ Section 3. 3 ]
Doubly linked lists Insert an element - at the head - at the tail [ Section 3. 3 ]
Doubly linked lists Delete an element - the head - the tail [ Section 3. 3 ]
Doubly linked lists Insert an element in the middle [ Section 3. 3 ]
Doubly linked lists Delete an element in the middle [ Section 3. 3 ]
Stacks Last-in-first-out (LIFO) Which methods might be useful? [ Section 5. 1 ]
Stacks How to implement? [ Section 5. 1 ]
Stacks [ Section 5. 1 ] The first application: matching parentheses (or tags in html)
Stacks [ Section 5. 1 ] The first application: matching parentheses (or tags in html)
Queues First-in-first-out (FIFO) Which methods might be useful? [ Section 5. 2 ]
Queues How to implement? [ Section 5. 2 ]
Queues Pseudocode for implementation via circular arrays [ Section 5. 2 ]
Lists, Stacks, Queues [ Sections 3. 2 -3, 5. 1 -2 ] A little bit about time and space requirements: Note: other variants exist: circular lists, double-ended queues, etc.