Previous Lecture lect10 Next Lecture

Relevant topics in the textbook:

Data Structures and Other Objects Using C++ Chapter 1.2

Example 1: Stair-counting problem

Run-time comparison in seconds:

Time in seconds Interpretation 210 17 minutes 220 12 days 230 32 years 240 cave paintings 270 The big bang

Practical code examples