Professional Documents
Culture Documents
Array is a container which can hold fix number of items and these items should be of same type.
Most of the datastructure make use of array to implement their algorithms. Following are important
terms to understand the concepts of Array.
Basic Operations
Following are the basic operations supported by an array.
Linked List
A linked list is a group of links that includes stuff. There is a relationship between each link and
another link. After arrays, linked lists are the second-most popular data structure. Following are
important terms to understand the concepts of Linked List.
i. Link − Each Link of a linked list can store a data called an element.
ii. Next − Each Link of a linked list contain a link to next link called Next.
iii. LinkedList − A LinkedList contains the connection link to the first Link called First
Stack
A certain type of data structure called a stack only permits operations on the data at one end. It only permits access to the most
recent data inserted. Only the last thing pushed (added to the stack) can be popped, which is why the stack is also known as a
LIFO (Last In First Out) data structure (removed from the stack).
Basic Operations
Following are two primary operations of a stack which are following.