
----二叉树
Wang_128
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU1710-Binary Tree Traversals
Binary Tree Traversals Time Limit : 1000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 42 Accepted Submission(s) : 30 Font: Times New Roman | Verdana原创 2016-05-18 19:57:54 · 337 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1119 Pre- and Post-order Traversals (30)
1119. Pre- and Post-order Traversals (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Special 作者 CHEN, Yue Suppose that all the keys in原创 2017-06-08 20:05:34 · 302 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1099 Build A Binary Search Tree (30)
1099. Build A Binary Search Tree (30) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A Binary Search Tree (BST) is r原创 2017-07-03 14:52:33 · 283 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1043 Is It a Binary Search Tree (25)
1043. Is It a Binary Search Tree (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A Binary Search Tree (BST) is r原创 2017-07-18 12:26:32 · 287 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1020 Tree Traversals (25)
1020. Tree Traversals (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Suppose that all the keys in a binary tree原创 2017-07-21 00:02:15 · 271 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1086 Tree Traversals Again (25)
1086. Tree Traversals Again (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue An inorder binary tree traversal can原创 2017-07-04 14:54:31 · 250 阅读 · 0 评论 -
团体程序设计天梯赛L2-004 这是二叉搜索树吗?
L2-004. 这是二叉搜索树吗? 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 一棵二叉搜索树可被递归地定义为具有下列性质的二叉树:对于任一结点, 其左子树中所有结点的键值小于该结点的键值原创 2017-03-01 17:49:35 · 380 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1064 Complete Binary Search Tree (30)
1064. Complete Binary Search Tree (30) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A Binary Search Tree (BST) is原创 2017-07-11 10:37:09 · 283 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1110 Complete Binary Tree (25)
1110. Complete Binary Tree (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a tree, you are supposed to tel原创 2017-06-09 22:08:17 · 261 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1115 Counting Nodes in a BST (30)
1115. Counting Nodes in a BST (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A Binary Search Tree (BST) is recu原创 2017-06-08 22:31:06 · 264 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1127 ZigZagging on a Tree (30)
1127. ZigZagging on a Tree (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Suppose that all the keys in a binary原创 2017-05-16 00:05:34 · 310 阅读 · 0 评论 -
团体程序设计天梯赛L2-006 树的遍历
L2-006. 树的遍历 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 给定一棵二叉树的后序遍历和中序遍历,请你输出其层序遍历的序列。这里假设键值都是互不相等的正整数。 输入格式: 输入第原创 2016-09-06 21:01:42 · 393 阅读 · 0 评论 -
团体程序设计天梯赛L2-011 玩转二叉树
L2-011. 玩转二叉树 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 给定一棵二叉树的中序遍历和前序遍历,请你先将树做个镜面反转,再输出反转后的层序遍历的序列。所谓镜面反转,是指将所有非叶结点的左原创 2016-09-06 21:03:36 · 514 阅读 · 0 评论 -
HDU3791-二叉搜索树
二叉搜索树 Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 86 Accepted Submission(s) : 46 Font: Times New Roman | Verdana | Georgia Font原创 2016-05-18 19:50:24 · 295 阅读 · 0 评论 -
HDU3999-The order of a Tree
The order of a Tree Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 64 Accepted Submission(s) : 34 Font: Times New Roman | Verdana | G原创 2016-05-18 19:53:44 · 605 阅读 · 0 评论 -
PAT (Advanced Level) Practise 1130 Infix Expression (25)
1130. Infix Expression (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a syntax tree (binary), you are sup原创 2017-05-16 00:24:18 · 320 阅读 · 0 评论