What is Data Structures

 A program is a set of instructions that perform operations on data. When program is dealing with data, the way you organising the data in the main (RAM) memory is called data structures.

Arrangement of collection of data items so that operations on the data can be done efficiently.

More Elaboration : When you start a program that deal with some data stored in any storage (Hard disk, cloud storage etc), data is loaded into the main memory. The way data is organised into the main memory for performing the operations by the program is called data structures.

Data structure is part of the running program.

Physical Data Structures : Array (They had collection of contagious memory locations), LinkedList(Dynamic nodes connected to each others).

Logical Data Structures : These can be created using physical data structures. Stack, Queue, Tree, Graph, Hash Table

Comments

Popular posts from this blog

SQL basic interview question

gsutil Vs Storage Transfer Service Vs Transfer Appliance