user
You need to complete the following task:

Explain what a vector is in programming.


assistant
In programming, a vector is an array-like data structure that stores a collection of values of the same type. It supports operations like inserting elements, randomly accessing elements, and even removing them.