Q. In general, what common operations are performed on different Data Structures?
Answer :-
Some commonly performed operations on data structures are:-
(i) Insertion :- To add a new data item in the given collection of data items.
(ii) Deletion :- To delete an existing data item from the given collection of data items.
(iii) Traversal :- To access each data item exactly once so that it can be processed.
(iv) Searching :- To find out the location of the data item if it exists in the given collection of data items.
(v) Sorting :- To arrange the data items in some order i.e., in ascending or descending order in case of numerical data and in dictionary order in case of alphanumeric data.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )