Home  >  Article  >  What is a non-linear data structure

What is a non-linear data structure

尚
Original
2020-04-21 16:22:3413190browse

What is a non-linear data structure

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn