
树
旺旺_碎_冰冰
这个作者很懒,什么都没留下…
展开
-
PAT 1043 Is It a Binary Search Tree(二叉查找树)
1043. Is It a Binary Search Tree (25) A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes with k原创 2018-02-03 22:31:01 · 274 阅读 · 0 评论 -
PAT 1020(由二叉树的中序和后序,求层序遍历) 1086(由二叉树的中序和先序求后序遍历)
1020. Tree Traversals (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Suppose that all the keys in a binary tree are distinct po原创 2018-02-04 22:40:03 · 285 阅读 · 0 评论 -
PAT 1090 1079 (树的遍历)
1090. Highest Price in Supply Chain (25) A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer. Sta原创 2018-02-05 23:40:55 · 231 阅读 · 0 评论 -
pat 1053 Path of Equal Weight(树的遍历,dfs)
1053. Path of Equal Weight (30) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a non-empty tree with root R, and with weight W原创 2018-02-02 22:48:23 · 226 阅读 · 0 评论