Category: Data Structure
-
List the various operations that can be performed on data structure.
Various operations that can be performed on the data structure are• Create• Insertion of element• Deletion of element• Searching for the desired element• Sorting the elements in the data structure• Reversing the list of elements.
-
What do you linear data structure? Give example.
The linear data structure is the kind of data structure in which the data is linearly arranged. For example- stacks, queues, linked list.
-
What do you mean by non-linear data structure? Give example.
The non-linear data structure is the kind of data structure in which the data may be arranged in hierarchical fashion. For example- Trees and graphs.
-
Define data structure.
The data structure can be defined as the collection of elements and all the possible operations which are required for those set of elements. Formally data structure can be defined as a data structure is a set of domains D, a set of domains F and a set of axioms A. this triple (D,F,A) denotes…
