Clevermind
.uk
Consider an algorithm that performs n operations, each with a cost of O(1). Applying the **accounting method**, what is the amortized cost per operation?
O(log n)
O(n)
O(1)
O(n^2)
Data Structures and Algorithms Exercises are loading ...