摘要: 题目 In a village called Byteville, there are $n$ houses connected with $n 1$ roads. For each pair of houses, there is a unique way to get from one to a 阅读全文
posted @ 2020-04-06 22:36 YouXam 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 题目 一棵二叉树可以按照如下规则表示成一个由0、1、2组成的字符序列,我们称之为"二叉树序列S": $$ S=\left\{ \begin{aligned} 0 &\ \ 表示该树没有子节点 \\ 1S_1 &\ \ 表示该树有一个子节点,S_1为其子树的二叉树序列 \\ 2S_1S_2 &\ \ 阅读全文
posted @ 2020-04-06 00:54 YouXam 阅读(371) 评论(0) 推荐(0) 编辑