
tree
文章平均质量分 82
小学生反弹
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UVa, 10701 Pre, in and post
Problem F - Pre, in and post Time Limit: 1 second A common problem in data structures is to determine the traversal ofa binary tree. There are three classic ways to do it: Pre-order: You must vis原创 2013-10-16 12:31:48 · 1548 阅读 · 0 评论 -
UVa, 536 Tree Recovery
Tree Recovery Little Valentine liked playing with binary trees very much. Her favoritegame was constructingrandomly looking binary trees with capital letters in the nodes. This is an exam原创 2013-10-16 12:36:15 · 1189 阅读 · 0 评论 -
TREES ON THE LEVEL
转自http://blog.youkuaiyun.com/metaphysis/article/details/7101708 // UVa Problem 122 - Trees on the level // Verdict: Accepted // Submission Date: 2011-12-25 // UVa Run Time: 0.008s // // 版权所有(C)2011,邱秋转载 2013-12-07 20:42:01 · 541 阅读 · 0 评论 -
双亲表示(数组表示)的树的基本操作
//树的构建,遍历,计算节点数,计算叶子节点数的基本操作#include #include #include #include #include #include #include using namespace std; #define MAX_TREE_SIZE 100 typedef struct { char data; int parent; }PTNode; typ原创 2016-03-24 18:25:17 · 540 阅读 · 0 评论