answersLogoWhite

0

Vectors (variable-length arrays) are the most commonly used data structure because a vector has the lowest memory overhead of any data container with the exception of fixed-length arrays (the second most-used container). All elements of a vector (and an array) must be of the same type and therefore of the same length, and are allocated in contiguous memory. Each element is identified by a subscript (a zero-based offset index) such that an array of n elements has subscripts in the range 0 to n-1. Subscripting makes it possible to perform bi-directional traversal as well as random-access in constant-time.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

How would a person explain data structures to a technophobe?

It is possible to explain data structure in layman's terms. Simply put, in computer terms, a data structure is a commonly used method of data organization.


What is the differences between hierarchical and linear structures.?

Linear structure is the most commonly used structure. Linear items are itemized by a single component. This means that besides for the first or last piece of data, something will come before or after it. In hierarchical structure the data is arranged in a tree like structure with several levels. Every entry is equal or less then the its previous.


What data structure and logarithm?

data structure is a way of storing data in a computer so that it can be used efficientlyan algorithm is a sequence of instructions, often used for calculation and data processing.Often a carefully chosen data structure will allow the most efficient algorithm to be used.


Is a bar graph used for qualitative or quantitative data?

It can be used for either, but it is most commonly used for quantitive.


What is most commonly used password data security firm imperva?

123456


What are the most commonly transmission speeds in bps used in data communication?

fhjhf


What is commonly used to show discreet data?

what is commonly used to show discrete data


Is a heap a type of tree structure?

No, a heap is not a type of tree structure. A heap is a specialized tree-based data structure commonly used in computer science for efficient priority queue operations.


Which data structure used in database?

You create your own data structure in database.


What is the Most commonly used steel in aircraft structure?

N-channel enhancement mode device


What the data structure is used behind FACEBOOK?

The GRAPH data structure used behind Facebook.for more detail see


What is the most commonly used IGFET structure?

N - channel enhancement mode device. by Engr. YuvZ