码迷,mamicode.com
首页 >  
搜索关键字:possible    ( 2665个结果
LeetCode: Permutations II 解题报告
Permutations IIGiven a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the follo...
分类:其他好文   时间:2014-12-03 20:58:01    阅读次数:185
LeetCode: Combinations 解题报告
CombinationsGiven two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example,If n = 4 and k = 2, a solution is:[ [...
分类:其他好文   时间:2014-12-03 20:46:09    阅读次数:164
POJ 2485 Highways (kruskal 最小生成树)
HighwaysPOJ 2485so that it will be possible to drive between any pair of towns without leaving the highway system. Flatopian towns are numbered from 1...
分类:其他好文   时间:2014-12-03 14:09:22    阅读次数:185
Palindrome Partitioning
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:其他好文   时间:2014-12-03 13:48:14    阅读次数:173
String to Integer (atoi)---将字符串转变成整数
题目:Implementatoito convert a string to an integer.---- 实现atoi函数,此函数的功能是将一个字符串转换成一个整数。Hint:Carefully consider all possible input cases. If you want a c...
分类:其他好文   时间:2014-12-02 22:16:11    阅读次数:224
Leetcode: Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:其他好文   时间:2014-12-02 22:12:13    阅读次数:163
Leetcode: Scramble String
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:其他好文   时间:2014-12-02 20:43:38    阅读次数:190
hdu 2058 The sum problem(简单因式分解,,)
Problem DescriptionGiven a sequence 1,2,3,......N, your job is to calculate all the possible sub-sequences that the sum of the sub-sequence is M.Input...
分类:其他好文   时间:2014-12-02 19:10:55    阅读次数:164
Apache无法访问 Forbidden
如图:打开找到: # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks Sym...
分类:Web程序   时间:2014-12-02 08:56:28    阅读次数:138
(每日算法)LeetCode --- Combinations (组合数)
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ]...
分类:编程语言   时间:2014-12-01 19:14:11    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!