1. 学习目标
2. 主要内容
3. 参考资料
算法入门 https://haolaoshi.blog.csdn.net/article/details/105770539
3.1. Q: What is an algorithm in computer science?
A: In computer science, an algorithm is a list of unambiguous instructions that specify successive steps to solve a problem or perform a task. Algorithms help computers execute tasks like playing games or sorting a list of numbers. In other words, computers use algorithms to understand what to do and give you the result you need.
3.2. Q: Are algorithms the same as artificial intelligence (AI)?
https://www.scribbr.com/frequently-asked-questions/are-algorithms-same-as-artificial-intelligence-ai/ A: Algorithms and artificial intelligence (AI) are not the same, however they are closely related.
- Artificial intelligence is a broad term describing computer systems performing tasks usually associated with human intelligence like decision-making, pattern recognition, or learning from experience.
- Algorithms are the instructions that AI uses to carry out these tasks, therefore we could say that algorithms are the building blocks of AI—even though AI involves more advanced capabilities beyond just following instructions.
3.3. Q: Are algorithms the same as computer programs?
https://www.scribbr.com/frequently-asked-questions/are-algorithms-same-as-computer-programs/ A: Algorithms and computer programs are sometimes used interchangeably, but they refer to two distinct but interrelated concepts.
- An algorithm is a step-by-step instruction for solving a problem that is precise yet general.
- Computer programs are specific implementations of an algorithm in a specific programming language. In other words, the algorithm is the high-level description of an idea, while the program is the actual implementation of that idea.
3.4. Q: Why do we need algorithms?
https://www.scribbr.com/frequently-asked-questions/why-do-we-need-algorithms/ A: Algorithms are valuable to us because they:
Form the basis of much of the technology we use in our daily lives, from mobile apps to search engines. Power innovations in various industries that augment our abilities (e.g., AI assistants or medical diagnosis). Help analyze large volumes of data, discover patterns and make informed decisions in a fast and efficient way, at a scale humans are simply not able to do. Automate processes. By streamlining tasks, algorithms increase efficiency, reduce errors, and save valuable time.