The data structure is the way that the computer stores and organizes it. A data structure is a collection of elements that have one or more specific relationships to each other. Typically, a well-chosen data structure can lead to higher operational or storage efficiency. Data structures are often associated with efficient retrieval algorithms and indexing techniques.
It is generally believed that a data structure is organized by a logical linkage of the elements of a database. The description of the logical relationship between the data elements is called the logical structure of the data, the data must be stored in the computer, the data storage structure is the realization form of the structure, and it is the representation in the computer. In addition, it is important to discuss a data structure that must also discuss the operations performed on that type of data. A logical data structure can have multiple storage structures, and various storage structures affect the efficiency of data processing.
In the design of many types of programs, the selection of data structures is a basic design consideration. The construction experience of many large-scale systems shows that the difficulty of system implementation and the quality of system construction depend heavily on whether the optimal data structure is chosen. Many times, once the data structure has been determined, the algorithm is easy to get. Sometimes things turn out the same way, and we choose the data structure to adapt to the particular algorithm. In either case, it is important to choose the right data structure.
The data structure is chosen, and the algorithm is the key factor of the system construction. This insight has led to the emergence of many kinds of software design methods and programming languages.
Data structure and algorithm sentiment one