资源列表
[数据结构常用算法] conversion
说明:顺序栈结构实现数制转换-Stack structure in order to achieve number system conversion<> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] 3
说明:从一个迷宫的入口到出口找出一条可通路经。用一个二维数组MG(1:M,1:N)模拟迷宫,数组元素为0表示该位置可以通过,数组元素为1表示该位置不可以通行。MG(1,1)和MG(M,N)分别为迷宫的入口和出口。若存在一条可通路经,输出YES,否则输出NO-From the entrance to the exit of a maze to find an available path through. Two-dimensional arrays with a MG (1: M, 1: N) sim<lss> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] shushuzhuang
说明:打印树状二叉树,用队列,按层次打印 按先序遍历和中序遍历建立二叉树-Print the tree binary tree, with a queue, by level of print by the first order traversal and inorder traversal binary tree set up<somreone> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] kkk
说明:给定K个单词作为文本的开始。程序每次生成一个单词,其过程为:读取文本中最后的K个单词,并在书中寻找这K个单词连续出现的所有位置,然后从中随机挑选一个位置,并把该位置之后的一个单词加入到文本中。该过程不断重复,直到生成的文本达到最大单词数,或者生成的单词恰好是这本书的最后一个单词。-Given K words as the beginning of the text. Each program generates a word, the process is: read the text in a<燕子> 在 2025-06-14 上传 | 大小:1kb | 下载:0