上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 44 下一页
摘要: 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 阅读(38) 评论(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 阅读(37) 评论(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 阅读(40) 评论(0) 推荐(0) 编辑
摘要: LeetCode 654. Maximum Binary Tree (最大二叉树) 题目 链接 https://leetcode-cn.com/problems/maximum-binary-tree/ 问题描述 给定一个不重复的整数数组 nums 。 最大二叉树 可以用下面的算法从 nums 递归 阅读全文
posted @ 2022-04-09 11:01 cheng102e 阅读(28) 评论(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 阅读(39) 评论(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 阅读(15) 评论(0) 推荐(0) 编辑
摘要: LeetCode 239. Sliding Window Maximum (滑动窗口最大值) 题目 链接 https://leetcode-cn.com/problems/sliding-window-maximum/ 问题描述 给你一个整数数组 nums,有一个大小为 k 的滑动窗口从数组的最左侧 阅读全文
posted @ 2022-04-01 20:14 cheng102e 阅读(13) 评论(0) 推荐(0) 编辑
摘要: LeetCode 739. Daily Temperatures (每日温度) 题目 链接 https://leetcode-cn.com/problems/daily-temperatures/ 问题描述 给定一个整数数组 temperatures ,表示每天的温度,返回一个数组 answer , 阅读全文
posted @ 2022-03-31 23:04 cheng102e 阅读(29) 评论(0) 推荐(0) 编辑
摘要: LeetCode 503. Next Greater Element II (下一个更大元素 II) 题目 链接 https://leetcode-cn.com/problems/next-greater-element-ii/ 问题描述 给定一个循环数组 nums ( nums[nums.leng 阅读全文
posted @ 2022-03-31 22:56 cheng102e 阅读(28) 评论(0) 推荐(0) 编辑
摘要: LeetCode 496. Next Greater Element I (下一个更大元素 I) 题目 链接 https://leetcode-cn.com/problems/next-greater-element-i/ 问题描述 nums1 中数字 x 的 下一个更大元素 是指 x 在 nums 阅读全文
posted @ 2022-03-31 22:24 cheng102e 阅读(19) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 44 下一页