The front will learn --- JavaScript data structures and algorithms --- Introduction

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.

Linear structure

  • Collection structure

Set of data elements belong to the same structure except that one set, no other relations between them.

Collection structure

  • Tree structure

There is level-many relationship between data elements in the tree structure.

Tree structure

  • Graph structure

Graphical data element structure is many to many relationship.

Graph structure

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]

data structure

  • JavaScript There are many types of data of their own, we must organize, summarize! ! !

Guess you like

Origin www.cnblogs.com/chrislinlin/p/12216747.html