0
A dynamic array doubles its capacity whenever it becomes full. The amortised cost of one append operation is
- AO(n log n)
- BO(log n)
- CO(n)
- DO(1)
Correct answer: D
A dynamic array doubles its capacity whenever it becomes full. The amortised cost of one append operation is