+ 1
vector
hi, guys Is vector an array or a link list?
3 ответов
+ 7
in Java
vectors are a part of lists (collections)
collections contains
* lists
* map
* set
vectors comes under list
0
In C++ a vector contains an array
0
vector is a Stack ADT, implemented internally with an array. Vector has both push_back() method of a stack and the element index [ ] operator of an array