What is the need of data structures?

Asked on

2 Answers | Add Yours

krishna-agrawala's profile pic

Posted on (Answer #1)

I believe the question relates to data structures as used in computer systems. In this field data structure refers to the way data is stored, and organized in computer systems. In computer systems we do not have the option of using or not using data structure. Computers has to store and use data. Computers cannot do without data, and wherever data exists it must have some kind of data structure. Thus instead of asking "what is the need of data structure", it would be more meaningful to ask "what is the importance of data structures".

Use of appropriate data structure enables a computer system to perform its task more efficiently, by influencing the ability of computer to store and retrieve data from any location in its memory. Different kind of data structures are suited to different computer applications and tasks.

lit24's profile pic

Posted on (Answer #2)


Data structure is a particular way of storing and organizing information  in a computer  so that it can be retrieved and used most productively.

Different kinds of data structures are meant  for different kinds of applications, and some are highly specialized to specific tasks.

Data structures are important for the following reasons:

1. Data structures are used in almost every program or software system.

2. Specific data structures are essential ingredients of many efficient algorithms, and make possible the management of huge amounts of data, such as large integrated collection of databases.

3. Some programming languages emphasize data structures, rather than algorithms, as the key organizing factor in software design.

We’ve answered 396,837 questions. We can answer yours, too.

Ask a question