Counting Steps
Counting Steps: Twice the Stuff, How Much More Work?, How Slow Will It Get? Counting Steps.
Updated
- Twice the Stuff, How Much More Work? (Novice): Big-O answers one question about any piece of code: if there's twice as much stuff, how much more work is it? Most of the time the answer is the same, twice, or four times.
- How Slow Will It Get? Counting Steps (Novice): Count the steps a loop takes instead of timing it in seconds, call the amount of data n, and watch a loop's steps grow right along with n.