CodePudding user response:
Discrete storage, delete or insert more time in the list is betterCodePudding user response:
Suitable for what, is about to see and other data structures compared theArray stored in order, random access, must define good length to enlarge the difficult
The queue for first-in, first-out
Stack fit into after the first
List for sequential access, quantity change frequently
CodePudding user response:
To store data more frequently used to add, delete data under the condition of using list better.CodePudding user response:
Array is fixed, the list is to solve the uncertain long list can solve array definition is too long cause memory waste and defines the problem of short is not easy to expand