国服切换
China Homepage
Data Structure and Algorithm note
1.Introduction
A Data Structure is the way in which a computer stores and organizes Data. A data structure is a collection of data elements that have one or more specific relationships with each other. More often than not, a carefully chosen data structure can lead to higher running or storage efficiency.
An Algorithm is a step or a description of a problem solving strategy. Before and after involves the transition from one state to another
Program is approximately equal to data structure + algorithm.
The quality of an algorithm depends on its spatial and temporal complexity