资源列表
[数据结构常用算法] hannuota
说明:算法思路: 1.如果只有一个金片,则把该金片从源移动到目标棒,结束。 2.如果有n个金片,则把前n-1个金片移动到辅助的棒,然后把自己移动到目标棒,最后再把前n-1个移动到目标棒. 3.单纯对于有N个金片要挪动的步数求出, 可以使用递推方法,满足递推方程f(i) = f(i - 1) * 2 + 1-Algorithm idea: 1. If there is only a gold film, while the gold from the source to the<huaying> 在 2025-06-09 上传 | 大小:356kb | 下载:0
[数据结构常用算法] queen
说明:在一个8×8国际象棋盘上,有8个皇后,每个皇后占一格;要求皇后间不会出现相互“攻击”的现象,即不能有两个皇后处在同一行、同一列或同一对角线上。问共有多少种不同的方法。-In an 8 × 8 chess set, there' s eight, each accounting for one' s cell request will not be mutual between Queen' s " attack" phenomenon, that shoul<huaying> 在 2025-06-09 上传 | 大小:330kb | 下载:0
[数据结构常用算法] data_structure
说明:数据结构与程序设计——C++语言描述(影印版)习题的答案 【作 者】Robert L.Kruse,Alexander J.Ryba -Data Structure and Program Design- C++ language descr iption (photocopy edition) Exercise the answer 【作者】 Robert L. Kruse, Alexander J. Ryba<hu jin> 在 2025-06-09 上传 | 大小:2.43mb | 下载:0
[数据结构常用算法] binarytree
说明:实现二叉树的各种操作,包括建立,遍历,查找等具体的内容-Bintree realize the various operations, including the establishment, traverse, search, such as specific content<zlg> 在 2025-06-09 上传 | 大小:178kb | 下载:0
[数据结构常用算法] binary_tree
说明:二叉树三种遍历的非递归算法 给出二叉树先序、中序、后序三种遍历的非递归算法,此三个算法可视为标准算法,直接用于考研答题。-Binary Tree Traversal three non-recursive algorithm<zhangli> 在 2025-06-09 上传 | 大小:1kb | 下载:0