Given two strings, find the longest common substring.Return the length of it.NoteThe characters in substring should occur continiously in original str...
                            
                            
                                分类:
其他好文   时间:
2015-01-01 00:01:16   
                                阅读次数:
339
                             
                    
                        
                            
                            
                                Compare two strings A and B, determine whether A contains all of the characters in B.The characters in string A and B are all Upper Case letters.Examp...
                            
                            
                                分类:
其他好文   时间:
2014-12-31 08:42:03   
                                阅读次数:
228
                             
                    
                        
                            
                            
                                一直因为 编码、端口问题没有搞定,没有使用 SQL direct 组件,不过现在已经测试成功了 ? DatabaseName = ‘TEST‘ ??? Params.Strings = ( ????? ‘USER NAME=root‘???????????????// 用户...
                            
                            
                                分类:
数据库   时间:
2014-12-31 07:37:54   
                                阅读次数:
169
                             
                    
                        
                            
                            
                                Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
                            
                            
                                分类:
其他好文   时间:
2014-12-30 16:38:28   
                                阅读次数:
194
                             
                    
                        
                            
                            
                                The problem: (The code of dynamic programming is very concise and elegant. You must learn it!)Given a stringS, find the longest palindromic substring ...
                            
                            
                                分类:
其他好文   时间:
2014-12-30 13:16:09   
                                阅读次数:
171
                             
                    
                        
                            
                            
                                Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 这道题挺简单的,不多说了,代码奉上 class Solution {
publ...
                            
                            
                                分类:
移动开发   时间:
2014-12-29 15:00:32   
                                阅读次数:
209
                             
                    
                        
                            
                            
                                题目:
Compare two version numbers version1 and version1.
If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0.
You may assume that the version strings are non-emp...
                            
                            
                                分类:
编程语言   时间:
2014-12-29 12:11:35   
                                阅读次数:
320
                             
                    
                        
                            
                            
                                Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there...
                            
                            
                                分类:
其他好文   时间:
2014-12-28 23:38:24   
                                阅读次数:
271
                             
                    
                        
                            
                            
                                Palindrome PartitioningGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioni...
                            
                            
                                分类:
其他好文   时间:
2014-12-28 00:23:59   
                                阅读次数:
180
                             
                    
                        
                            
                            
                                Compare two version numbers version1 and version1.
If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0.
You may assume that the version strings are non-empty and co...
                            
                            
                                分类:
其他好文   时间:
2014-12-27 09:01:59   
                                阅读次数:
150