01
Linear Structures
Arrays, linked lists, stacks, queues, and skip lists; the consequences of contiguous and linked layout.
- 01 Arrays Contiguous memory layout, constant-time access through address arithmetic, the fixed-size constraint, and the language of cost.
- 02 Dynamic Arrays Capacity growth, the choice of growth factor, amortized cost analysis, and the shrink threshold.
- 03 Linked Lists Node and link structure, singly and doubly linked lists, the cost of pointer relinking, and their practical limits.
- 04 Stacks The abstract data type concept, the last-in-first-out model, two implementation options, and typical use cases.
- 05 Queues and Deques The first-in-first-out model, a queue in fixed memory using a circular buffer, the deque, and use cases.
- 06 Skip Lists Reducing search cost by adding layers to a sorted linked list, probabilistic height, and expected cost.