Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be o...
分类:
其他好文 时间:
2014-08-26 00:18:35
阅读次数:
290
LeetCode: Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A...
分类:
其他好文 时间:
2014-08-25 22:31:25
阅读次数:
216
Validate if a given string is numeric.Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intended for the p...
分类:
其他好文 时间:
2014-08-25 16:52:14
阅读次数:
168
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the c...
分类:
其他好文 时间:
2014-08-25 13:04:24
阅读次数:
139
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:
其他好文 时间:
2014-08-25 11:47:54
阅读次数:
172
Word Break IIGiven a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is a valid dictionary word.Return all...
分类:
其他好文 时间:
2014-08-24 23:46:03
阅读次数:
244
实验 直接上代码,看结果 实体类 [Flags] public enum FlagsEnum { Day = 1, Night = 2 } public class EntityWithEnum { public int ID { get; set; } public FlagsEnum Valid...
分类:
其他好文 时间:
2014-08-24 20:42:23
阅读次数:
216
题目大意:16*16的数独。思路分析:多说无益.想说的就是dancing links 的行是依照第一行第一列填 1第一行第二列填 2……第一行第十五列填15第一行第二列填 1……第二行。。。。列的纺织则是第一行放1,第一行放2,。。第十六行放16.。。第一列放1.。第一列放2.。。第十六列放16.。...
分类:
其他好文 时间:
2014-08-23 12:33:30
阅读次数:
264
Restore IP Addresses
Total Accepted: 12696 Total
Submissions: 61955My Submissions
Given a string containing only digits, restore it by returning all possible valid IP address combinations...
分类:
其他好文 时间:
2014-08-22 21:15:49
阅读次数:
277
这几天在网上搜贴找如何解决Not valid jdk isntalled的问题,但是一直没结果。
这是用了ANT来release,限制了jdk版本不能超过1.7。我在Mac机上安装了最新的jdk1.8,所以release的时候一直报这样的错误。如何去解决这个问题:1、下载一个1.7版本的jdk;(或者)2、用Mac机上自带的1.6版本的jdk;
最好的方法就是不用下载,下面我就以不用下载来讲讲...
分类:
其他好文 时间:
2014-08-22 16:29:30
阅读次数:
222