1.3OPERATIONS ON DATA STRUCTURES
Here, we discuss various operations that are performed on data structures.
•Creation – This is the process of creating a data structure. The declaration and initialization of the data structure are done here. It is the first operation.
•Insertion – This is the process of adding new data elements in the data structure, for example, to add the details of an employee who has recently joined an organization.
•Deletion – This is the process of removing a particular data element from the given collection of data elements, for example, to remove the name of an employee who has left the company.
•Updating – This is the process of modifying the data elements of a data structure. For example, if the address of a student is changed, it should be updated.
•Searching – This is used to find the location of a particular data element or all the data elements with the help of a given key, for example...