合集-数据结构与算法

摘要:1.1 什么是算法? 定义 在数学和计算机科学领域,算法是一系列有限的严谨指令,通常用于解决一类特定问题或执行计算 In mathematics and computer science, an algorithm (/ˈælɡərɪðəm/) is a finite sequence of rig 阅读全文
posted @ 2024-09-22 11:44 程序员波特 阅读(364) 评论(0) 推荐(2)
摘要:数组 1) 概述 定义 在计算机科学中,数组是由一组元素(值或变量)组成的数据结构,每个元素有至少一个索引或键来标识 In computer science, an array is a data structure consisting of a collection of elements (v 阅读全文
posted @ 2024-09-23 07:43 程序员波特 阅读(329) 评论(0) 推荐(0)
摘要:链表 1) 概述 定义 在计算机科学中,链表是数据元素的线性集合,其每个元素都指向下一个元素,元素存储上并不连续 In computer science, a linked list is a linear collection of data elements whose order is not 阅读全文
posted @ 2024-09-24 11:15 程序员波特 阅读(193) 评论(3) 推荐(0)
摘要:递归 1) 概述 定义 计算机科学中,递归是一种解决计算问题的方法,其中解决方案取决于同一类问题的更小子集 In computer science, recursion is a method of solving a computational problem where the solution 阅读全文
posted @ 2024-09-26 14:47 程序员波特 阅读(380) 评论(0) 推荐(2)