What is a DS? What are the categories of DS?
Data structures are accustomed store information associate degree exceedingly|in a very} pc in an organized fashion. differing kinds of Data structures (DS) are:-Stack- Works in 1st in outride order. The component inserted 1st in stack is removed last.
Queue- 1st in 1st out order. The component inserted 1st is removed first.
Linked list- hold on information in a very linear fashion.
Trees- Stores information in a very non linear fashion with one root node and sub nodes.
What is a DS? What are the categories of DS ?
The theme of organizing connected data is thought as ‘data structure’.The types of DS are:
Lists: a bunch of comparable things with property to the previous or/and next information items.
Arrays: a collection of homogenous values
Records: a collection of fields, wherever every field consists of knowledge belongs to at least one data sort.
Trees: a knowledge structure wherever the information is organized in a very hierarchical data structure. this kind of knowledge structure follows the sorted order of insertion, deletion and modification of knowledge things.
Tables: information is persisted within the style of rows and columns. These are the same as records, wherever the result or manipulation of knowledge is mirrored for the total table.
Post a Comment