码迷,mamicode.com
首页 >  
搜索关键字:possible    ( 2665个结果
【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.255.11.135", "255.255.111.35"...
分类:其他好文   时间:2014-12-19 17:26:18    阅读次数:117
hdu 1518(dfs)
题目链接 :http://acm.hdu.edu.cn/showproblem.php?pid=1518SquareProblem DescriptionGiven a set of sticks of various lengths, is it possible to join them end...
分类:其他好文   时间:2014-12-19 15:44:33    阅读次数:185
Ordering Tasks
Description John has n tasks to do. Unfortunately, the tasks are not independent and the execution of one task is only possible if other tasks have already been executed. Input The input wi...
分类:其他好文   时间:2014-12-17 21:00:12    阅读次数:202
【LeetCode】Permutations II 解题报告
【题目】 Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the following unique permutations: [1,1,2], [1,2,1], an...
分类:其他好文   时间:2014-12-17 12:49:36    阅读次数:140
【leetcode】 Scramble String (hard)★
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-17 12:23:10    阅读次数:166
Android Studio中debug和release模式默认的参数配置
The possible properties and their default values are: debuggable:表示是否可以在手机上调试程序。 在Eclipse中,只有android:debuggable="true"时我们才可以在手机上调试Android程序。 但是当我们没在An...
分类:移动开发   时间:2014-12-16 18:48:32    阅读次数:284
[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.255.11.135", "255.255.111.35"]. (O...
分类:其他好文   时间:2014-12-16 17:04:09    阅读次数:152
[leetcode] Combinations
CombinationsGiven two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3.....
分类:其他好文   时间:2014-12-16 16:50:47    阅读次数:110
【LeetCode】Next Permutation 解题报告
【题目】 Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it as the lowes...
分类:其他好文   时间:2014-12-16 11:50:47    阅读次数:146
[LeetCode]Palindrome Partitioning
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = "aab", Return [ ["aa","...
分类:其他好文   时间:2014-12-15 21:52:33    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!