In order to process elements of a data strucutre some kind of operation is required. A basic operation involves creating a data structure, and reserving storage space for the elements.
A another operation is deleting the data structure, which removed the data items and releases the allocated storage space.
Other common operation are: inserting, sorting, searching, merging, traversing.
A another operation is deleting the data structure, which removed the data items and releases the allocated storage space.
Other common operation are: inserting, sorting, searching, merging, traversing.
Inserting: involves adding a data item in a specified position
Sorting is arranging of data items in specific order
Searching means finding an item which matches with a given key
Merging involves combining two sets of data items with according to some criterion
Traversing means accessing each element of a data strucutre
No comments:
Post a Comment