Jump Trading Interview Question

implement a C++ vector with dynamic size allocation