Bloomberg Interview Question

How do you implement a vector class from scratch?