What Data Structure does a vector use?
Does it use an Array that increases its size when it runs out of space?
Does it use a Linked List?
Does it use a Stack?
I am talking about the vector that you get when you do
#include <vector>
Does it use an Array that increases its size when it runs out of space?
Does it use a Linked List?
Does it use a Stack?
I am talking about the vector that you get when you do
#include <vector>