2. Data Structures
- 2.1. Lists, Tuples, and Strings
- 2.1.1. Creating lists
- 2.1.2. Accessing elements in a list
- 2.1.3. Iterating over a list
- 2.1.4. Modifying a list
- 2.1.5. Creating a list based on another list
- 2.1.6. Other operations on lists
- 2.1.7. Variables revisited
- 2.1.8. The heap
- 2.1.9. List parameters
- 2.1.10. Lists of lists
- 2.1.11. Shallow copy versus deep copy
- 2.1.12. Tuples
- 2.1.13. Strings
- 2.1.14. Practice Problem Solutions
- 2.2. Dictionaries and Sets
- 2.3. Implementing a Data Structure: Stacks and Queues
- 2.4. Classes and Objects