#amortized-analysis