1.

What are the operations performed on linear data structures?

Answer»

The various operations performed on linear data structures are:

1. Traversal:
The process of accessing each data item exactly once to perform some operation.

2. Insertion:
The process of adding a new data item into the given collection of data neats.

3. Deletion:
The process of removing existing data item from the given collection of data items.

4. Searching:
The process of finding the location of a data item in the given collection of data items.

5. Sorting:
The process of arrangement of data items in either ascending or descending order.

6. Merging:
The process of combining the data items of two structures to form a single structure.



Discussion

No Comment Found

Related InterviewSolutions