What is a data structure :
The data structure is the way that the computer stores and organizes it.
A data structure is a collection of elements that have one or more specific relationships to each other
typically, a well-chosen data structure can lead to higher operational or storage Efficiency. Data structures are often associated with efficient retrieval algorithms and indexing Techniques.
Common data structures, array (array), stack (stack), list of links (Linked list), hash table (hash), queues (queue), heap (heap), graph (graph), Tree
The collection framework in Java is actually the encapsulation of the implementation of the data structure, here is the simulation and implementation data Structure.
different data structure operation performance is different, some query performance is very fast, some insert speed quickly, some insert head and tail speed quickly, Some do the equivalent judgment quickly, some do range query quickly, some allow elements to repeat, some do not allow Repetition.
the role of data structures :
1. Simulating the storage of data in your life
2. As a tool developed by programmers (discovering that an operation is often used, each use has to be re-called very troublesome we encapsulate the common operation as a Tool)
Example: An array of tool Arraylist.
Java Core class Library-data Structure-overview of data structures