Question: are vectors better than arrays?
Answer: Vector is better for frequent insertion and deletion whereas Arrays are much better suited for frequent access of elements scenario. Vector occupies much more memory in exchange for the ability to manage storage and grow dynamically whereas Arrays are memory efficient data structure.