Operations of Data Structures:
The particular data structure that one chooses for a given situation depends largely on the frequency with which specific operations are performed. Following are some most frequent operations.
- Traversing: Traversing means accessing the records exactly once so that those records can be processed as demanded.
- Searching: Searching means finding out one or more record as demanded from all the records.
- Inserting: Inserting means storing new records.
- Deleting: Deleting means removing an existing record.
- Sorting: Sorting means arranging the records with given conditions. Such as arranging a record in ascending order.
- Merging: Merging means combining the records of two different files into one.