题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters...
                            
                            
                                分类:
其他好文   时间:
2014-10-20 21:11:05   
                                阅读次数:
203
                             
                         
                    
                        
                            
                            
                                Longest Ordered SubsequenceTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:253364-bit integer IO format:%lld Jav...
                            
                            
                                分类:
其他好文   时间:
2014-10-20 11:28:21   
                                阅读次数:
174
                             
                         
                    
                        
                            
                            
                                Language:
Default
Longest Ordered Subsequence
Time Limit: 2000MS
 
Memory Limit: 65536K
Total Submissions: 33986
 
Accepted: 14892
Description
A numeric sequence of a...
                            
                            
                                分类:
其他好文   时间:
2014-10-19 11:38:30   
                                阅读次数:
249
                             
                         
                    
                        
                            
                            
                                1、当strs为空,直接输出“”2、当strs中含有“”,直接输出“”3、strs[0]的最长长度由最短公共长度l决定(code line:15) 1 class Solution: 2 # @return a string 3 def longestCommonPrefix(sel...
                            
                            
                                分类:
编程语言   时间:
2014-10-18 23:47:06   
                                阅读次数:
270
                             
                         
                    
                        
                            
                            
                                Write a function to find the longest common prefix string amongst an array of strings. 分析: 对一组字符串找到最长公共前缀。 因为只是找前缀所以可以以第一个字符串为基础,按个字符与其它字符串比较,直到有字符串已经...
                            
                            
                                分类:
其他好文   时间:
2014-10-18 22:17:24   
                                阅读次数:
186
                             
                         
                    
                        
                            
                            
                                Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
                            
                            
                                分类:
其他好文   时间:
2014-10-18 20:57:37   
                                阅读次数:
229
                             
                         
                    
                        
                            
                            
                                4Clojure上的一道题:[4Clojure 最长上升子序列算法][1] 描述如下: > Given a vector of integers, find the longest consecutive sub-sequence of increasing numbers. If two sub-sequences have the same le...
                            
                            
                                分类:
编程语言   时间:
2014-10-18 09:55:22   
                                阅读次数:
259
                             
                         
                    
                        
                            
                            
                                Write a function to find the longest common prefix string amongst an array of strings.这个很简单,看代码便知// LongestCommonPrefix.cpp : 定义控制台应用程序的入口点。//#include...
                            
                            
                                分类:
其他好文   时间:
2014-10-17 20:17:37   
                                阅读次数:
202
                             
                         
                    
                        
                            
                            
                                Longest Ordered Subsequence
Time Limit: 2000MS
 
Memory Limit: 65536K
Total Submissions: 33943
 
Accepted: 14871
Description
A numeric sequence of ai is ordered if a1  a2  ...
                            
                            
                                分类:
其他好文   时间:
2014-10-16 19:38:32   
                                阅读次数:
209
                             
                         
                    
                        
                            
                            
                                要学的 太多了.学到的 都是有用的 即便你不会在比赛中遇到这个类型的 但是开拓了你的思维这2题 都是LCIS-Longest Common Increase Subsequence我是在这边学习的 传送这篇写的很好.我觉得对于4512要好好理解下啊 我想了好久 太白痴了....注意下 数组的对称性1...
                            
                            
                                分类:
其他好文   时间:
2014-10-16 18:26:32   
                                阅读次数:
338