What Is a Data Structure?
A data structure is a way for a computer to store and organize data. A data structure is a collection of data elements that have one or more specific relationships with each other. In general, carefully selected data structures can lead to higher operational or storage efficiency. Data structures are often related to efficient retrieval algorithms and indexing techniques. [1]
- Data structure (data structure) is a collection of data elements with structural characteristics, it is the study of data
- There are many types of data structures. Generally speaking, they are simply classified according to the logical structure of the data, including linear structures and non-linear structures. [5]
- in
- The content of data structure research: how to organize the data according to a certain logical structure, and choose an appropriate storage representation method to store the data organized by the logical structure into the computer's memory. The purpose of the research is to process data more effectively and improve the efficiency of data operations. The operation of data is defined on the logical structure of the data, but the specific implementation of the operation is performed on the storage structure. There are several common operations: [3]
- (1) Search. Retrieval is to find nodes that meet certain conditions in the data structure. Generally, given a field value, find the node with the field value. [3]
- (2) Insert. Add new nodes to the data structure. [3]
- (3) Delete. Removes the specified node from the data structure. [3]
- (4) Update. Changes the value of one or more fields of the specified node. [3]
- (5) Sorting. Rearrange the nodes in a specified order. For example, increasing or decreasing. [3]