AKUNA CAPITAL interview question

Implement a simplified C++ vector