MindMap Gallery Data Structure Chapter 1
Introduction to Chapter 1 of Data Structure. The knowledge points include the basic concepts of data structure, the meaning and analysis of algorithms, linear tables, linked storage structures, etc. It is worth collecting and learning!
Edited at 2021-12-05 16:59:55This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
data structure
Chapter 01 Introduction
1.1 Basic concepts of data structure
1.1.2 Why learn data structures
1. Software design is the core of all fields of computer science. The primary issue to consider when designing software is the representation, organization, and processing of data. Data structure design and algorithm design are the core of software system design.
2. "Data structure algorithm = programming"
1.1.2 Concept: refers to the relationship between data elements.
Data structure includes three aspects: 1. Logical structure of data 2. Data storage structure 3.Data operations
1. Logical structure of data:
Linear structure: The data element has only one predecessor data element and one successor data element.
Tree structure: Each data element has only one predecessor data element and can have zero or several successor data elements.
Graph structure: Each data element can have zero or several predecessor data elements and zero or several successor data elements.
2. Data storage structure:
sequential storage structure
chain storage structure
3.Data operations:
initialization.
Determine whether it is empty.
Access refers to getting and setting the value of a specified element.
The number of statistical data elements.
Traversal refers to accessing all elements in a data structure in a certain order, and each data element is accessed only once. Traversing a data structure will result in a linear sequence of all data elements. Insert and remove the specified element.
Search refers to finding data elements that meet given conditions in the data structure.
Sorting refers to rearranging data elements in increasing (or decreasing) order according to the size of the specified keyword value.
1. Data type: refers to a type and a set of operations defined on this type.
2. Abstract Data Type (ADT): refers to a logical concept type and a set of operations on this type.
Abstract data types of a data structure include:
logical structure of data
Data operations
3. Implement a collection of different features
Linear table: represents a repeatable unordered set, with predecessor and successor order relationships between elements; the keywords of different elements can be repeated, and the serial number can be used to identify data elements with repeated keywords.
Sorted linear list: Represents a repeatable sorted set, with elements sorted in key size order.
Hash table: represents a non-repeatable unordered set, the element keys do not repeat, there is no order between elements, and there is no sorting.
Binary sorting tree: represents a non-repeatable sorted set, the element keywords are not repeated, and the elements are sorted in ascending/descending order by the keywords.
1.2 Algorithm
1.2.1 What is an algorithm?
1. Concept: An algorithm (Algorithm) is a set of finite rules, whose rules determine a sequence of operations to solve a specific type of problem.
Characteristics of the algorithm:
Finiteness
enter
output
feasibility
Algorithm design goals:
correctness
readability
Robustness
High time efficiency
High space efficiency
1.2.2 Algorithm analysis
Measuring the time efficiency of an algorithm
The time efficiency of an algorithm refers to the tendency that the execution time of the algorithm increases with the increase of the problem size. Time complexity is usually used to measure the time efficiency of the algorithm. T(n)=O(f(n))
Measuring the space efficiency of an algorithm
Space complexity refers to the additional memory space required to solve the problem when the algorithm is executed, excluding the storage space occupied by input data. S(n)=O(f(n))
Comparison of time complexity changes with n
Full chapter examples:
Linear tables, trees, graphs:
Chained storage structure, sequential storage structure:
Algorithms and data structures: