Basic Operations in Data Structure
Hey
My Dear Students , So in previous blog we study about definition of data structure and its types.
In this blog , we are going to discuss about different operations in Data Structure.
In Data Structure there are different kind of operations are available those are written below:
- Creating : – This operation is used to create an empty new data structure like Empty Queue , Empty Stack , Empty Linked List etc.
- Inserting : – This operation is used to insert a new item in to the data structure like PUSH operation in Stack , Enqueue operation in Queue etc.
- Deleting : – This operation is used to deleting an element from the data structure like POP operation in stack , Dequeue operation in Queue etc.
- Modifying : – This operation is used to update or replace old value with new value.
- Traversing : – This operation is sued to travel from starting position / initial position to end position / final position which touch every data element at least once.
- Searching : – This operation is used to find any particular element weather it may or may not be present in the list in data structure.
- Sorting : – This operation is used to arrange the elements either in Ascending ( small to big) or Descending ( Big to Small ) order.
- Merging : – This operation is used to combine two sorted array in together and forming a new sorted array.
- Copying : – This operation is used to copy the data items from one data structure to another data structure.
- Splitting : – This function is used to divide the big data structure and form different types of small data structure.