IncredibleThings

导航

2020年10月14日 #

LeetCode - Construct Binary Tree from Inorder and Postorder Traversal

摘要: Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. For example 阅读全文

posted @ 2020-10-14 12:47 IncredibleThings 阅读(87) 评论(0) 推荐(0) 编辑

LeetCode - Construct Binary Tree from Preorder and Inorder Traversal

摘要: Given preorder and inorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. For example, 阅读全文

posted @ 2020-10-14 12:27 IncredibleThings 阅读(71) 评论(0) 推荐(0) 编辑