摘要: PAT 1022. Digital Library A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publi 阅读全文
posted @ 2018-01-08 21:28 A-Little-Nut 阅读(153) 评论(0) 推荐(0) 编辑
摘要: PAT 1021. Deepest Root A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you a 阅读全文
posted @ 2018-01-08 20:35 A-Little-Nut 阅读(200) 评论(0) 推荐(0) 编辑
摘要: PAT 1020. Tree Traversals Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequenc 阅读全文
posted @ 2018-01-08 13:19 A-Little-Nut 阅读(140) 评论(0) 推荐(0) 编辑