AKUNA CAPITAL Interview Question

Implement a simplified C++ vector