Home  >  Article  >  When storing data, what else should be stored than just the value of the data element?

When storing data, what else should be stored than just the value of the data element?

藏色散人
藏色散人Original
2020-05-08 10:39:0314867browse

When storing data, what else should be stored than just the value of the data element?

When storing data, not only should we store the value of the data element, but what else should be stored?

When storing data, not only the values ​​of data elements must be stored, but also the "relationships between data elements".

The essence of a data structure is a collection of data elements that have various specific relationships with each other.

Data elements are the basic units of data. According to the different characteristics of the relationship between data elements, it can be divided into four basic structures: set, linear structure, tree structure, graph or network structure.

When storing data, it is usually necessary to store not only the values ​​of data elements, but also the relationships between elements.

The above is the detailed content of When storing data, what else should be stored than just the value of the data element?. 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