Banking

One lovely way to analyze this algorithm is the idea of credits.

Example: increment starting from zero.

Where should we leave credits?


next up previous
Next: Amortized Analysis Template Up: AMORTIZED ANALYSIS Previous: Sequence of Flips