Pergunta de entrevista da empresa Wargaming

Explain amortized complexity in vector