数据结构学习(1-1、算法定义)

一、算法导论

课程链接


1. what is an Algorithm?

​ A set of steps or instructions for completing a task.

  • Clearly defined problem statement, input, and output
  • The steps in the algorithm need to be in a very specific order
  • The steps also need to be distinct
  • The algorithm should produce a result

2. How to evaluate an algorithm?

  • Correctness

  • Efficiency

    • Time Complexity

    • Space Complexity

      Big O---->O(n)评估效率的函数

Time:42:41

Data:7/10/2025

posted @ 2025-07-10 16:17  Freaaaaaaaaasy  阅读(11)  评论(0)    收藏  举报