Discuss the operations of data structures.

Last updated on June 13th, 2020 at 08:30 pm

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.

  1. Traversing: Traversing means accessing the records exactly once so that those records can be processed as demanded. 
  2. Searching: Searching means finding out one or more record as demanded from all the records.
  3. Inserting: Inserting means storing new records.
  4. Deleting: Deleting means removing an existing record.
  5. Sorting: Sorting means arranging the records with given conditions. Such as arranging a record in ascending order.
  6. Merging: Merging means combining the records of two different files into one.

Leave a Reply

Your email address will not be published. Required fields are marked *