上一页 1 2 3 4 5 6 7 ··· 44 下一页
摘要: LeetCode 455. Assign Cookies (分发饼干) 题目 链接 https://leetcode.cn/problems/assign-cookies/ 问题描述 对每个孩子 i,都有一个胃口值 g[i],这是能让孩子们满足胃口的饼干的最小尺寸;并且每块饼干 j,都有一个尺寸 s 阅读全文
posted @ 2022-06-18 15:37 cheng102e 阅读(22) 评论(0) 推荐(0) 编辑
摘要: LeetCode 37. Sudoku Solver (解数独) 题目 链接 https://leetcode.cn/problems/sudoku-solver/ 问题描述 编写一个程序,通过填充空格来解决数独问题。 数独的解法需 遵循如下规则: 数字 1-9 在每一行只能出现一次。 数字 1-9 阅读全文
posted @ 2022-06-14 19:48 cheng102e 阅读(25) 评论(0) 推荐(0) 编辑
摘要: LeetCode 491. Increasing Subsequences (递增子序列) 题目 链接 https://leetcode.cn/problems/increasing-subsequences/ 问题描述 给你一个整数数组 nums ,找出并返回所有该数组中不同的递增子序列,递增子序 阅读全文
posted @ 2022-06-14 18:18 cheng102e 阅读(22) 评论(0) 推荐(0) 编辑
摘要: LeetCode 47. Permutations II (全排列II) 题目 链接 https://leetcode.cn/problems/permutations-ii/ 问题描述 给定一个可包含重复数字的序列 nums ,按任意顺序 返回所有不重复的全排列。 示例 输入:nums = [1, 阅读全文
posted @ 2022-06-14 17:57 cheng102e 阅读(11) 评论(0) 推荐(0) 编辑
摘要: LeetCode 90. Subsets II (子集 II) 题目 链接 https://leetcode.cn/problems/subsets-ii/ 问题描述 给你一个整数数组 nums ,其中可能包含重复元素,请你返回该数组所有可能的子集(幂集)。 解集 不能 包含重复的子集。返回的解集中 阅读全文
posted @ 2022-06-14 17:17 cheng102e 阅读(15) 评论(0) 推荐(0) 编辑
摘要: LeetCode 78. Subsets (子集) 题目 链接 https://leetcode.cn/problems/subsets/ 问题描述 给你一个整数数组 nums ,数组中的元素 互不相同 。返回该数组所有可能的子集(幂集)。 解集 不能 包含重复的子集。你可以按 任意顺序 返回解集。 阅读全文
posted @ 2022-06-14 16:54 cheng102e 阅读(14) 评论(0) 推荐(0) 编辑
摘要: LeetCode 93. Restore IP Addresses (复原 IP 地址) 题目 链接 https://leetcode.cn/problems/restore-ip-addresses/ 问题描述 有效 IP 地址 正好由四个整数(每个整数位于 0 到 255 之间组成,且不能含有前 阅读全文
posted @ 2022-06-14 16:36 cheng102e 阅读(15) 评论(0) 推荐(0) 编辑
摘要: LeetCode 131. Palindrome Partitioning (分割回文串) 题目 链接 https://leetcode.cn/problems/palindrome-partitioning/ 问题描述 给你一个字符串 s,请你将 s 分割成一些子串,使每个子串都是 回文串 。返回 阅读全文
posted @ 2022-06-14 14:52 cheng102e 阅读(15) 评论(0) 推荐(0) 编辑
摘要: LeetCode 40. Combination Sum II (组合总和 II) 题目 链接 https://leetcode.cn/problems/combination-sum-ii/ 问题描述 给定一个候选人编号的集合 candidates 和一个目标数 target ,找出 candid 阅读全文
posted @ 2022-06-13 22:51 cheng102e 阅读(20) 评论(0) 推荐(0) 编辑
摘要: LeetCode 39. Combination Sum (组合总和) 题目 链接 https://leetcode.cn/problems/combination-sum/ 问题描述 给你一个 无重复元素 的整数数组 candidates 和一个目标整数 target ,找出 candidates 阅读全文
posted @ 2022-06-13 22:37 cheng102e 阅读(46) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 44 下一页