You are on page 1of 3

 Queue – A queue is defined as a linear data structure that is open at both ends and the

operations are performed in First In First Out (FIFO) order.

 Stack is a linear data structure which follows a particular order in which the
operations are performed. The order may be LIFO(Last In First Out) or FILO(First
In Last Out).

Hashtable This
data structure takes a value, computes the value into
a key through a hash function, and maps the key into an index in
an array.

 Graph is a non-linear data structure composed of vertices/nodes and edges/lines


that connect them.

 Tree is a graph data structure that has a start (root) and branched out from there.
There is a clear parent child relation between the vertices. They are arranged on
multiple levels or we can say it is a hierarchical structure. 
 A Heap is a special Tree-based data structure in which the tree is a complete
binary tree. Min-Heap and Max-heap are two types of Heap.

You might also like