gatewayasfen.blogg.se

Use of basic data structures
Use of basic data structures







use of basic data structures

Basic types of Data StructuresĪs we have discussed above, anything that can store data can be called as a data structure, hence Integer, Float, Boolean, Char etc, all are data structures. It should be designed and implemented in such a way that it reduces the complexity and increases the efficiency. It represents the knowledge of data to be organized in memory. In simple language, Data Structures are structures programmed to store ordered data, so that various operations can be performed on it easily. The only difference being, data structures provides for techniques to access and manipulate data efficiently. If you are aware of Object Oriented programming concepts, then a class also does the same thing, it collects different type of data under one single entity. Now we can collect and store player's records in a file or database as a data structure.įor example: "Dhoni" 30, "Gambhir" 31, "Sehwag" 33

use of basic data structures

We can organize this data as a record like Player record, which will have both player's name and age in it. Here "Virat" is of String data type and 26 is of integer data type. For example, we have some data which has, player's name "Virat" and age 26.

use of basic data structures

Data Structures is about rendering data elements in terms of some relationship, for better organization and storage. Data Structure is a way of collecting and organising data in such a way that we can perform operations on these data in an effective way.









Use of basic data structures