What is Data Structure? Define Data Structure.

Before answering what is data structure? First, we should see that computers do store, retrieve, and process a large amount of data. If this data is stored in well organized way on storage media and in computer's memory then it can be quickly made available for processing that further reduces the latency and the user is provided fast response. A data structure, in the simplest term is a scheme for organizing logically related data in computer's memory.

A data structure should be seen as a logical concept that must address two fundamental concerns. First, how the data will be stored and logical relationship among data elements, and second, what operations will be performed on it? As data structure is a scheme for data organization so the functional definition of a data structure should be independent of its implementation. The functional definition of a data structure is known as ADT (Abstract Data Type) which is independent of implementation. The implementation part is left on developers who decide which technology better suits to their project needs. For an example, a stack is a data structure which supports operations such as push and pop. A stack can be implemented in a number of ways, for example using an array or using a linked list.

Data structures are the building blocks of a program; rightly chosen data structure surely ascertains efficiency of the program. For example, for frequent read operations on a list; array will be the right data structure, while for frequent write operations linked list will be the right choice.

Get Free Tutorials by Email

About the Author

is the main author for cs-fundamentals.com. He is a software professional (post graduated from BITS-Pilani) and loves writing technical articles on programming and data structures.

Today's Tech News

New seat alert app for pregnant commutersPosted on Sunday January 22, 2017

Developers launch a new app to help pregnant women get a seat on public transport while commuting.

Samsung confirms battery faults as cause of Note 7 firesPosted on Monday January 23, 2017

The firm says neither software nor hardware, other than the batteries, were at fault in Note 7.

China to crack down on censor-busting servicesPosted on Monday January 23, 2017

China is cracking down on the hi-tech ways citizens avoid official scrutiny of what they do online.

Courtesy BBC News