Unit 4
Unit 4: Data Structures
Work through the lessons below in order. Each lesson includes short explanations and runnable code.
Lessons
- 1. Introduction to Data Structures
- 2. Lists and List Operations
- 3. Indexing and Slicing Lists
- 4. Nested Lists and 2D Structures
- 5. Tuples and Immutable Data
- 6. Dictionaries and Key-Value Pairs
- 7. Dictionary Methods and Iteration
- 8. Sets and Unique Collections
- 9. Copying and Comparing Data Structures
- 10. Choosing the Right Data Structure