Question
A programmer needs explaining occasional expensive dynamic-array operations, and the chosen structure has the property that a costly operation can be offset by many cheap operations. Which choice fits best?
Select an option. Your answer will be checked instantly.
Correct Answer: D. Amortized Analysis
Explanation:
Amortized Analysis fits because it supports explaining occasional expensive dynamic-array operations and a costly operation can be offset by many cheap operations.
Both clues point to this choice.
Leave a Reply