摘要: Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number. An example is the root-to-leaf path1->2->3which re 阅读全文
posted @ 2017-06-09 22:25 王大咩的图书馆 阅读(538) 评论(0) 推荐(0) 编辑
摘要: Given preorder and inorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 利用前序和中序遍历构造二 阅读全文
posted @ 2017-06-09 09:29 王大咩的图书馆 阅读(581) 评论(0) 推荐(0) 编辑