摘要: LeetCode 96. Unique Binary Search Trees (不同的二叉搜索树) 题目 链接 https://leetcode.cn/problems/unique-binary-search-trees/ 问题描述 给你一个整数 n ,求恰由 n 个节点组成且节点值从 1 到 阅读全文
posted @ 2022-06-28 22:19 cheng102e 阅读(16) 评论(0) 推荐(0) 编辑
摘要: LeetCode 343. Integer Break (整数拆分) 题目 链接 https://leetcode.cn/problems/integer-break/ 问题描述 给定一个正整数 n ,将其拆分为 k 个 正整数 的和( k >= 2 ),并使这些整数的乘积最大化。 返回 你可以获得 阅读全文
posted @ 2022-06-28 22:10 cheng102e 阅读(20) 评论(0) 推荐(0) 编辑
摘要: LeetCode 56. Merge Intervals (合并区间) 题目 链接 https://leetcode.cn/problems/merge-intervals/ 问题描述 以数组 intervals 表示若干个区间的集合,其中单个区间为 intervals[i] = [starti, 阅读全文
posted @ 2022-06-28 20:10 cheng102e 阅读(21) 评论(0) 推荐(0) 编辑
摘要: LeetCode 738. Monotone Increasing Digits (单调递增的数字) 题目 链接 https://leetcode.cn/problems/monotone-increasing-digits/ 问题描述 当且仅当每个相邻位数上的数字 x 和 y 满足 x <= y  阅读全文
posted @ 2022-06-28 17:20 cheng102e 阅读(16) 评论(0) 推荐(0) 编辑
摘要: title: date: 2022-06-28 16:23:00 tags: categories: LeetCode LeetCode 763. Partition Labels (划分字母区间) 题目 链接 https://leetcode.cn/problems/partition-label 阅读全文
posted @ 2022-06-28 16:35 cheng102e 阅读(21) 评论(0) 推荐(0) 编辑