Home  >  Article  >  From a logical perspective, what are the main categories of data structures?

From a logical perspective, what are the main categories of data structures?

尚
Original
2020-04-21 15:43:3012421browse

From a logical perspective, what are the main categories of data structures?

Logically speaking, data structures are mainly divided into two categories, namely linear structures and non-linear structures.

The logical structure and physical structure of data are two closely related aspects of data structure. The same logical structure can correspond to different storage structures. The design of the algorithm depends on the logical structure of the data, and the implementation of the algorithm depends on the specified storage structure.

There are many types of data structures. Generally speaking, data are simply classified according to their logical structure, including linear structures and non-linear structures.

1. Linear structure means that each node in the table has a linear relationship.

2. The non-linear structure means that there are multiple corresponding relationships between each node in the table.

The above is the detailed content of From a logical perspective, what are the main categories of data structures?. 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