Data Structures and Algorithms in race relations in the algorithm

Of course, a good relationship based Friends of the qwq


Algorithm is a process on a specific step (new data through the data) is described

Data structure there is a certain relationship between data collection


1、

During the execution of the algorithm, inevitably to access the data (even fortune-telling, too, oh).

Messy data, it will only slow down the speed of execution algorithms, which require data per visit have certain characteristics.


2.
Most of the data structure of the program implementation is not simple, especially typically a tree structure, often have some special operations. (Such as splay pushup la la la split)

By these operations, from the existing data structure constitutes a new data structure has been configured, the operation of these algorithms is.


Summary: The data structure is assisted algorithm, the algorithm is the basic data structure.

Guess you like

Origin www.cnblogs.com/tztqwq/p/11330672.html
Recommended