Definition :- Allocating of data elements in Computer memory and retrieving data elements from computer memory is called data structures. How many ways we can organise the data elements in Computer memory. How many ways we can retrieve in the data elements (called retrieving )from computer memory. Data Structure is a way of collection and organising data in such a way that we can perform operations on this data in an efficient way .So ,that verious operations can be performed on it easily. →Data structure mainly classified into two types. Linear data structures Non-linear data structures 1]Linear data structure :- In this element formed in an organised sequence. i.e ,elements are organised in sequential order . Ex:-Array,stock ,queue ,linked list Arrays :- An array is a data structure that contains a group of elements typically these elements are all of the same datatype . Such as an integer or string array are commonly used in computer pr...
Comments