Module M07 · 7 of 35 in teaching order · Beginner
Linked Lists
Nodes and pointers: what O(1) insertion really requires, and the classic pointer techniques.
Lessons
How a singly linked list works: nodes and next pointers, O(1) prepend and append with a tail, O(n) search and removal, in-place reversal, four languages.
Topics this module covers
The full module scope. Topics without a lesson above are not written yet.
- singly/doubly/circular
- head/tail
- traversal
- insert/delete
- reversal
- fast/slow pointers
- cycle detection
- implementation
- comparison