List of data structures

This is a list of data structures. For a wider list of terms, see list of terms relating to algorithms and data structures. For a comparison of running time a subset of this list see comparison of data structures.

Data types

Primitive types

  • Boolean, true or false.
  • Character
  • Floating-point numbers, limited precision approximations of real number values.
    • Including Single precision and Double precision IEEE 754 Floats, among others
  • Fixed-point numbers
  • Integer, integral or fixed-precision values.
  • Reference (also called a pointer or handle), a small value referring to another object's address in memory, possibly a much larger one.
  • Enumerated type, a small set of uniquely named values.
  • Date Time, value referring to Date and Time

Composite types or non-primitive type

Abstract data types

Some properties of abstract data types:

Structure Order Unique
List yes no
Associative array no yes
Set no yes
Stack yes no
Multimap no no
Multiset (bag) no no
Queue yes no

Order means the insertion sequence counts. Unique means that duplicate elements are not allowed, based on some inbuilt or, alternatively, user-defined rule for comparing elements.

Linear data structures

A data structure is said to be linear if its elements form a sequence.

Arrays

Lists

Trees

Binary trees

B-trees

Heaps

Trees

In these data structures each tree node compares a bit slice of key values.

Multiway trees

Space-partitioning trees

These are data structures used for space partitioning or binary space partitioning.

Application-specific trees

Hash-based structures

Graphs

Many graph-based data structures are used in computer science and related fields:

Other

gollark: There may be *minor* meteor impacts near HTech due to acceleration stresses.
gollark: Nothing to worry about, the emergency lunar reactionless drives would have allowed it to maintain a useful/safe orbit.
gollark: Ah, it's fine, that would have activated the lunar nuclear defense grid.
gollark: I tried that, but it spontaneously teleported into HTech?
gollark: Oh dear the paper I used to note it caught fire.

See also


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.