Wargaming Interview Question

Explain amortized complexity in vector