AKUNA CAPITAL interview question

Implement a vector with dynamic array