随笔分类 - 408 / data structure
摘要:Here’s an explanation of time complexity, asymptotic time complexity, and order, along with their relationships in algorithm analysis: Time Complexity
阅读全文
摘要:在 算法分析 中,复杂度 和 阶 是两个非常重要的概念,它们用于描述算法的 时间性能 或 空间性能。虽然这两个概念有些重叠,但它们的含义和使用场景略有不同。 1. 复杂度 (Complexity) 复杂度 是用来描述算法在运行时所需资源(如时间或空间)与输入规模之间关系的一个度量。最常用的是 时间复
阅读全文