Foundational Data Structures Chapter 4
Foundational Data Structures 1. Linked List 2. Array
Singly-Linked List
Empty lists
An Implementation
List Elements Class Definition
Linked List Class Definition
List Elements
Default Constructor
Destructor and Purge Member Function
Accessors
First and Last Functions
Prepend
Append
Copy Constructor
Assignment Operator
Extract
Insert After
Insert Before
Dynamic Array
Dynamic Array Definition
Default Constructor
Array Constructor
Copy Constructor
Destructor
Member Variable Accessors
Array Subscripting Operator
Resizing an Array