题目: Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in non-descending order. ...
题目: Given a collection of integers that might contain duplicates, S, return all possible subsets. Note: Elements in a subset must be in non descending order. The solution set must not contain duplica ...
2014-07-31 08:09 0 3001 推荐指数:
题目: Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in non-descending order. ...
引言 Coding 问题中有时会出现这样的问题:给定一个集合,求出这个集合所有的子集(所谓子集,就是包含原集合中的一部分元素的集合)。 或者求出满足一定要求的子集,比如子集中元素总和为定值,子集元 ...
题目: Given a collection of numbers that might contain duplicates, return all possible unique permut ...
题目: Given a collection of candidate numbers (C) and a target number (T), find all unique combinati ...
题目: Given two words (start and end), and a dictionary, find all shortest transformation sequence(s ...
题目: Given a string s and a dictionary of words dict, add spaces in s to construct a sentence wher ...
题目: Given a string s, partition s such that every substring of the partition is a palindrome. R ...
题目: Given an array of integers, every element appears three times except for one. Find that single ...