Data structure is a storage that is used to store and
organize data. It is a way of arranging data on a
computer so that it can be accessed and updated
An array is a collection of similar data elements stored
at contiguous memory locations. It is the simplest data
structure where each data element can be accessed
directly by only using its index number.
A stack stores a collection of items in the linear order
that operations are applied. This order could be last in,
first out (LIFO) or first in, first out (FIFO).
A queue stores a collection of items like a stack;
however, the operation order can only be (FIFO) first
in, first out
In linked list data structure, data elements are connected
through a series of nodes. And, each node contains the
data items and address to the next node.
In graph data structure, each node is called vertex and
each vertex is connected to other vertices through edges.
Similar to a graph, a tree is also a collection Of vertices
and edges. However, in tree data structure, there can only
be one edge between two vertices.
Thank You !
Categories : MySQL
Tags : Data Structures