What would you like to do?

What is the difference between list and vector?

already exists.

Would you like to merge this question into it?

already exists as an alternate of this question.

Would you like to make it the primary and merge this question into it?

exists and is an alternate of .

A vector holds all data items in adjacent areas of memory, making transfer of the entire vector easy and insertion or deletion of items expensive when compared with lists. Lists hold items is disjoint areas of memory, making transfer of the entire list expensive but insertion and deletion of individual items relatively cheap. Classic vectors are also fixed in size, and limited to N items, while lists can dynamically grow and shrink. Vectors also offer indexed access to the element items. Lists don't. The classic vector's predecessor is an array. Modern implementations of vectors often aim at providing similar characteristic, but the underlying data structure may in fact be a list or a hash, and those vectors typically support dynamic re-sizing.
Thanks for the feedback!

What is difference between ArrayList and Vector?

1)Synchronization: Vector is synchronized and arraylist are not. 2)Increment size: Vector can increment the size by double,arraylist can increment it by 50%. 2)The default siz

Difference between vector and array?

The abstraction are the same. However, the array may be of any objects, while a vector, in narrowed definition, each element is a scalar value (e.g, int, float, double, etc),

What is the difference between a vector and a scalor?

scalor: a quantity having magnitude only, and no direction; exampless are mass,temperature,and time. vector: a quantity that has both magnitude and direction ; examples are we

What is the difference between a vector and a scalar?

  A vector is a quantity with both magnitude (strength) and direction. Like a force having a strength in pounds and a direction. Or a wind having magnitude (in mph) and di

What is the difference between a scalar and a vector?

A vector has a magnitude and a direction. A scalar is only a magnitude. For example, If I say that I am going 60 m/s, that I have described my speed as a scalar value. If I s

What is the difference between carriers and vectors?

The diference between a vector and a carrier when involving disease, it that a vector is an organism that spreads disease but shows no symptoms while a carrier is a human that

What is the difference between vector and rester?

Main difference is that you can enlarge vector graphics without lose of quality. Vector graphics can be scaled and changed at any time without any lose of quality or appearanc

What is difference between a vector and a scalar?

A quantity is a vector if its direction makes a difference, like force and speed. A quantity is a scalar if its direction doesn't make any difference, like temperature and p

What is the difference between a raster and a vector?

A raster is an image that is defined by a map of pixels, such as aphotograph or .jpg file. Rasters are easy to edit but difficult toscale, due to them becoming blurry or pixel

Difference between vector and list in c plus plus?

They are both standard library template classes that can be used as data containers. A vector is essentially an array template that allows constant time access to any element

What is the differeance between Rasta and vector?

Raster images are defined in pixels. ie At every x,y location, whether it is black or white. Vector images are defined by lines. eg From x,y to X,Y. Any pixel that lies betw