As I, told you about what exactly the data structure is (use for storage)so,now we will jump to the next part of data structure.How it is divided into two parts or in what way its divided.
The first question comes in mind while studying this topic is how can we store large amount of data or else we have different structures to store varying amount of data yes or no?
So, I'll answer this question YES,their are different data structure for storing varying amount of data.
For storing numbers single digit we use int data type(data type is a particular type of data item so in this its integer type),float is used for point value(eg: 1.3).So these are PRIMITIVE data structure.
For storing large amount of data we have abstract data structure they are as follows,
Linked list,
Queue,
Array,
Stack,
Heap,
Tree etc which will be explained further.
No comments:
Post a Comment