-
How Data Structures Make Your Code Faster
Before the concept of data structures, data was often managed using simple linear storage methods. What is Data Structure . A Data structure is specialized format for organizing , processing , retrieving and storing data . it defines the relationship between data and the operations. that can be performed of the data common data structures include arrays , linked lists ,stacks , queues , tree and graph . Benefits of data structures How the variable can store this line when compiler compiles this line . When jvm reads int a it reserve space in stack memory for variable a . When jvm executes a=10; Primitive data type memory allocation Example…