Question d’entretien chez FactSet

Interactive programming: Design a class to imitate a C++ vector. Write the push function.