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

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

Release: 2020-05-08 15:18:14
Original
12532 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template