answersLogoWhite

0

Types of array in data structures?

Updated: 8/10/2023
User Avatar

Wiki User

13y ago

Best Answer

There are many types of trees:

- binary trees

- binary search trees

- B+ trees

- red-black trees

- AVL trees

- suffix trees

- and much more....

Each have different rules for adding a new element, removing an element, and searching for an element in the tree. Consequently, they all have different advantages and disadvantages.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

It depends on what kind of data. If you want to store integer numbers use short, int, long. If you have numbers with decimal point use float, and double. If you want to store characters use char. And in case if you want to store text use char* or char mytext[], and of course string.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago
  1. Simple file manager.

  2. Classic relational b-tree.

  3. Hash index.

  4. Bitmap.

  5. Other columnar.

  6. Star.

  7. Geospatial r-tree.

  8. Hierarchy-of-arrays MOLAP.

  9. Inverted index.

  10. Classic full-text index.

  11. Classic linked-list.

  12. Classic object-oriented.

  13. Native XML (all).

  14. Trie.

  15. File plus calculated metadata (e.g., for still image).

  16. Simple key/value lookup.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

basically there are two types of data structure,

1) linear : array, stack, queue

2)non linear : linked list, tree...

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

There are different types of data structures available. They include simple files, tables with different lengths, arrays with one length, linked lists, and index files.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

in depends on memory allocation array two types--

1.static

2.dynamic

in depends on dimension three type

1.single

2.2d

3.3d

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

1. Stacks

2. Queues.

3. Linked lists.

4. Trees.

5. Graphs

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Set, Array, List, Tree, Heap

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Types of array in data structures?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is an associative array?

An associative array is one of a number of array-like data structures where the indices are not limited to integers.


What do an array and a stack have in common?

Both are linear data structures.


What is the difference between an array of structures and an array within a structure?

The main differences between an array and a structure are: An Array is a collection of similar data items.An array is derived data type.It behave like a built in data type. An array can be increased or decreased. A structure is a collection of dissimilar data items.It is a user defined data types.It must be declared and defined.A structure element can be added if necessary.


What types of index data structures can you have?

There are three types of index data structures: unique, non-unique, bitmap


Explain the Different types of array?

one dementional array and two dementional array


What is the difference between an array and structure?

An array is a collection of related data elements of same type.Structure can have elements of different types.An array is a derived data type.A structure is a programmer-defined data type.A struct can contain multiple data types, whereas an array can not.


Should element in an array must be of primitive data type?

No, it can be array, structure or union as well.


How do you get the mean median and mode in c programming?

By writing in C code the mathematical methods for finding the mean, median and mode of your data taking into account how your data is stored (eg an array; two separate arrays one with data and the other with frequencies; a two dimensional array containing both data and frequencies; an array of structures containing the data instead of arrays; a linked list of structures; etc).


What are the differences between Homogeneous and non homogeneous data structures?

in homogeneous data structure all the elements of same data types known as homogeneous data structure. example:- array while there can b any type of data in non homogeneous data structure. example:- list


When an array contains values other than primitive data types is it considered a control array?

Only if the non-primitive data types are actually controls, such as an array of label controls, or an array of edit boxes. However, a control array is still an array. The only difference is that the values will likely be resource handles (objects that refer or point to the actual object which will be stored elsewhere in memory) rather than an actual value itself. That is, an array of primitive data types stores the actual value in the array itself.


What is the use of matrix in data structures?

Nothing, but a two dimensional array can be used to represent a matrix.


What are the permissible data types for an array index?

Integer (signed or unsigned)