摘要:
LeetCode 105. Construct Binary Tree from Preorder and Inorder Traversal (从前序与中序遍历序列构造二叉树) 题目 链接 https://leetcode-cn.com/problems/construct-binary-tree 阅读全文
posted @ 2022-04-09 22:41
cheng102e
阅读(44)
评论(0)
推荐(0)
摘要:
LeetCode 106. Construct Binary Tree from Inorder and Postorder Traversal (从中序与后序遍历序列构造二叉树) 题目 链接 https://leetcode-cn.com/problems/construct-binary-tre 阅读全文
posted @ 2022-04-09 22:37
cheng102e
阅读(59)
评论(0)
推荐(0)
摘要:
LeetCode 889. Construct Binary Tree from Preorder and Postorder Traversal (根据前序和后序遍历构造二叉树) 题目 链接 https://leetcode-cn.com/problems/construct-binary-tre 阅读全文
posted @ 2022-04-09 22:29
cheng102e
阅读(68)
评论(0)
推荐(0)
摘要:
LeetCode 654. Maximum Binary Tree (最大二叉树) 题目 链接 https://leetcode-cn.com/problems/maximum-binary-tree/ 问题描述 给定一个不重复的整数数组 nums 。 最大二叉树 可以用下面的算法从 nums 递归 阅读全文
posted @ 2022-04-09 11:01
cheng102e
阅读(51)
评论(0)
推荐(0)
摘要:
LeetCode 114. Flatten Binary Tree to Linked List (二叉树展开为链表) 题目 链接 https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list/ 问题描述 给你二叉树的根结点 阅读全文
posted @ 2022-04-09 10:46
cheng102e
阅读(52)
评论(0)
推荐(0)
摘要:
LeetCode 116. Populating Next Right Pointers in Each Node (填充每个节点的下一个右侧节点指针) 题目 链接 https://leetcode-cn.com/problems/populating-next-right-pointers-in- 阅读全文
posted @ 2022-04-09 10:43
cheng102e
阅读(24)
评论(0)
推荐(0)