The front will learn --- JavaScript data structures and algorithms --- Introduction
1. Data Structure:
The data structure is the presence of one or more data elements of the particular relationship between each set. --- "Westward data structure"
1.1 Classification of data structures
1. The logical structure
- Linear structure
It is a one to one relationship between the data elements in a linear structure.
- Collection structure
Set of data elements belong to the same structure except that one set, no other relations between them.
- Tree structure
There is level-many relationship between data elements in the tree structure.
- Graph structure
Graphical data element structure is many to many relationship.
2. Physical structure
- Sequential storage structure
- Link storage structure
Summary of the data structure to learn a lot of knowledge here first pit dug, after slowly to fill! ! !
Corresponding notes are still finishing perfected.
I am currently learning progress, learning a linear structure and a tree structure, and made some corresponding exercises.
In addition, the study Ruan Yifeng big "ES6 Guide" found Set data types can be a good collection of structurally related operation.
Classification data structure, refer to "data structure", "Journey to the data structure", "learning JavaScript data structures and algorithms," three books after the manner of the mind map rendering, to help build the system data structures. [There is nothing wrong will be corrected]
- JavaScript There are many types of data of their own, we must organize, summarize! ! !