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:55Avatar 3 centers on the Sully family, showcasing the internal rift caused by the sacrifice of their eldest son, and their alliance with other tribes on Pandora against the external conflict of the Ashbringers, who adhere to the philosophy of fire and are allied with humans. It explores the grand themes of family, faith, and survival.
This article discusses the Easter eggs and homages in Zootopia 2 that you may have discovered. The main content includes: character and archetype Easter eggs, cinematic universe crossover Easter eggs, animal ecology and behavior references, symbol and metaphor Easter eggs, social satire and brand allusions, and emotional storylines and sequel foreshadowing.
[Zootopia Character Relationship Chart] The idealistic rabbit police officer Judy and the cynical fox conman Nick form a charmingly contrasting duo, rising from street hustlers to become Zootopia police officers!
Avatar 3 centers on the Sully family, showcasing the internal rift caused by the sacrifice of their eldest son, and their alliance with other tribes on Pandora against the external conflict of the Ashbringers, who adhere to the philosophy of fire and are allied with humans. It explores the grand themes of family, faith, and survival.
This article discusses the Easter eggs and homages in Zootopia 2 that you may have discovered. The main content includes: character and archetype Easter eggs, cinematic universe crossover Easter eggs, animal ecology and behavior references, symbol and metaphor Easter eggs, social satire and brand allusions, and emotional storylines and sequel foreshadowing.
[Zootopia Character Relationship Chart] The idealistic rabbit police officer Judy and the cynical fox conman Nick form a charmingly contrasting duo, rising from street hustlers to become Zootopia police officers!
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: