Nonlinear structure:
Simply put, the nonlinear structure means that there are multiple correspondences between the nodes in the table, that is, each element can have Multiple predecessors and successors.
If described from the language of data structure, the nonlinear structure should include the following points:
1. The nonlinear structure is a non-empty set.
2. A node in a nonlinear structure may have multiple direct predecessor nodes and multiple direct successor nodes. .
In practical applications, data structures such as arrays, generalized tables, tree structures, and graph structures are all nonlinear structures.
The above is the detailed content of What is a non-linear data structure. For more information, please follow other related articles on the PHP Chinese website!