You are on page 1of 1

Diference between vector, list and map?

Vector :- Dynamically stored linked list


syntax - vector<int> vec_int; !"st initiali#es
vec_int$p"s%back&'((); to initiali#e t%e memory space
needed$
list : we %ave bot% p"s%back and p"s%*ront
map : +ap %as a "ni,"e key and a correspondin- key

You might also like