Pregunta de entrevista de Susquehanna International Group

code optimization on code signal, implement then explain then optimize vector::push_back