当前位置:网站首页>Three questions for learning new things
Three questions for learning new things
2022-06-21 14:26:00 【Record brother】
When we want to talk about a thing , You need to ask yourself three questions : What is it? ? Why? ? What about? ?
What programmers are familiar with " Data structures and algorithms " Pull it out , Torture
One . What is it? ?
What is data structure and algorithm
data structure , It is the storage structure of a group of data .
Algorithm , Is a set of methods for manipulating data .
Data structure is for algorithm , The algorithm should work on a specific data structure .
Two . Why? ?
Why data structures and algorithms are needed
With the rapid development of computer science and Internet , The amount of data to be calculated is becoming larger and larger . But the computing power of the computer is limited , Such a large amount of data calculation , More and more computers are needed , It takes longer and longer to calculate , Focusing on efficiency, we need to improve the computing efficiency as much as possible .
One of the most important items , Is to use appropriate data structures and algorithms . Select the appropriate data structure and algorithm , Especially when dealing with very large data , It can greatly improve the computational efficiency . that , The third question is , How do we choose the right data structure and algorithm ? Are there any measures ?
3、 ... and . What about? ?
How to measure the effect of data structure and algorithm
Need to introduce a measure (metric): Time complexity and space complexity .
The cornerstone of learning data structures and algorithms , Is to learn ` Complexity analysis `. Know how to analyze complexity , To make a correct judgment , Choose the right algorithm in a specific scenario . Instead of blindly memorizing , Mechanical operation .
Add a chicken leg to everyone :
10 Data structures : Array , Linked list , Stack , queue , Hash table , Binary tree , Pile up , Jump watch , chart ,Trie Trees
10 Algorithms : recursive , Sort , Two points search , Search for , The hash algorithm , Greedy Algorithm , Divide and conquer algorithm , Backtracking algorithm , Dynamic programming , String matching algorithm
The data structure is too abstract ? Come on, come on , Send you a treasure book , It is a data structure visualization website , Visually describe various operations of common data structures , Change abstract to concrete :https://www.cs.usfca.edu/~galles/visualization/Algorithms.html
https://www.cs.usfca.edu/~galles/visualization/Algorithms.html
边栏推荐
- Use of MySQL 8.0.19 under alicloud lightweight application server linux-centos7
- Usage of SED (replacement, deletion of text content, etc.)
- Qt-6-file IO
- Azure applicationinsights integrated in blazor
- Reptile essential_ regular expression
- [Goo Goo donkey takeout rebate system] customer service configuration tutorial of takeout CPS project - (attached with picture and text building tutorial)
- Reptile Foundation_ urllib
- Route add add route
- MySQL - view properties
- Installation of oracle19c under alicloud lightweight application server linux-centos7
猜你喜欢
![[Goo Goo donkey takeout rebate system] customer service configuration tutorial of takeout CPS project - (attached with picture and text building tutorial)](/img/54/d30b9c08e46760dac8c3405716941f.jpg)
[Goo Goo donkey takeout rebate system] customer service configuration tutorial of takeout CPS project - (attached with picture and text building tutorial)

T32 add toolbar button

Postman testing websocket interface

Automatic operation and maintenance 4 - variables and encryption in ansible

Imitation B station web, app, background

Redis cluster deployment manual that Xiaobai can understand
![Flex layout --- detailed explanation [Blue Bridge Cup classic dice layout]](/img/9b/bb030e7b4be833051d6bc3974e4184.jpg)
Flex layout --- detailed explanation [Blue Bridge Cup classic dice layout]

A complete set of skills that a software test engineer needs to master
![Cool background shadow effect [second with layered feeling] [picture hover style]](/img/ca/d68f2cf9f9af7b9346032b2a6e120b.jpg)
Cool background shadow effect [second with layered feeling] [picture hover style]

STM32F0-DAY1
随机推荐
Automation operation and maintenance 1 - installation and deployment of ansible
. bash_ profile
Reverse generate the corresponding DTD constraint according to the XML file
CSDN is the only one: detailed tutorial teaching on how to connect multiple mobile phones by appium+pytest+allure+jenkins
Oracle client11 and pl/sql12 installation
Qt-2-signal and slot
Explain the high availability features of Nacos
Win10 installation and configuration mongodb
MySQL - index
MySQL failover and master-slave switchover based on MHA
Pyqt5 learning notes of orange_ Connect to SQL Server database
Redis学习(1)——概述和常用命令
Quelle plate - forme à terme est plus sûre. Je vous en prie.
Summary of web development technology knowledge
Detailed explanation of hashtable source code in C #
技术分享 | MySQL中一个聚类增量统计 SQL 的需求
What fun things can a desk service do
kernel GDB
Explanation of vim, makefile and GDB tools
C#&. Net to implement a distributed event bus from 0 (1)