12 2017 档案

图的深度优先遍历
摘要:1 /** 2 * C: 邻接矩阵图表示的"无向图(Matrix Undirected Graph)" 3 * 4 */ 5 6 #include 7 #include 8 #include 9 #include 10 11 #define MAX 100 12 #define isLetter(a) ((((a)>='a')&&((... 阅读全文

posted @ 2017-12-10 22:00 久久新秋 阅读(262) 评论(0) 推荐(0)

二叉树的基本操作
摘要:求二叉树中叶子结点数目的递归算法。 编写求二叉树深度的递归算法。 编写判断二叉树是否相似的递归算法 编写求二叉树左右子树互换的递归算法 阅读全文

posted @ 2017-12-03 20:31 久久新秋 阅读(348) 评论(0) 推荐(0)

导航