摘要:
题目 You are given an integer array nums. You are initially positioned at the array's first index, and each element in the array represents your maximum 阅读全文
摘要:
题目 You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at this place are 阅读全文
摘要:
题目 Given an m x n grid of characters board and a string word, return true if word exists in the grid. The word can be constructed from letters of sequ 阅读全文
摘要:
题目 Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3 Output: ["((()))"," 阅读全文
摘要:
题目 Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate n 阅读全文
摘要:
题目 Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in 阅读全文
摘要:
题目 Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen 阅读全文
摘要:
题目 Given a collection of numbers, nums, that might contain duplicates, return all possible unique permutations in any order. Example 1: Input: nums = 阅读全文
摘要:
题目 Given an integer array nums that may contain duplicates, return all possible subsets (the power set). The solution set must not contain duplicate s 阅读全文
摘要:
题目 Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. R 阅读全文