Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
                            
                            
                                分类:
其他好文   时间:
2017-01-31 10:33:20   
                                阅读次数:
205
                             
                         
                    
                        
                            
                            
                                Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
                            
                            
                                分类:
其他好文   时间:
2017-01-26 01:07:28   
                                阅读次数:
198
                             
                         
                    
                        
                            
                            
                                思路:类似双指针,用left标定以当前字母结尾的最长无重的substring的起点。逐个扫描字母,如果这个字母当前的substring里面没有,那么当前的substring长度就可以加一。如果这个字母已经在substring里面了,例如: 当扫描到第二个c的时候,left应该移到d上来。并且应该将  ...
                            
                            
                                分类:
其他好文   时间:
2017-01-24 13:36:07   
                                阅读次数:
195
                             
                         
                    
                        
                            
                            
                                    倒序查看,不包含jiuzhang ladders中出现过的题。 1 Longest Substring Without Repeating Characters not bug free 给一个字符串,找出其中不包含重复字符的最长子串的长度。 Examples: Given "abcabcbb",  ...
                            
                            
                                分类:
其他好文   时间:
2017-01-20 16:08:00   
                                阅读次数:
200
                             
                         
                    
                        
                            
                            
                                Find the length of the longest substring T of a given string (consists of lowercase letters only) such that every character in T appears no less than  ...
                            
                            
                         
                    
                        
                            
                            
                                    单纯针对时间的设置规则org.springframework.scheduling.quartz.CronTriggerBean允许你更精确地控制任务的运行时间,只需要设置其cronExpression属性。一个cronExpression表达式有至少6个(也可能是7个)由空格分隔的时间元素。从左至 ...
                            
                            
                                分类:
编程语言   时间:
2017-01-09 16:05:30   
                                阅读次数:
176
                             
                         
                    
                        
                            
                            
                                    Quartz是OpenSymphony开源组织在Job scheduling领域又一个开源项目,它可以与J2EE与J2SE应用程序相结合也可以单独使用。Quartz可以用来创建简单或为运行十个,百个,甚至是好几万个Jobs这样复杂的日程序表。Jobs可以做成标准的Java组件或 EJBs。官方网站: ...
                            
                            
                                分类:
其他好文   时间:
2017-01-04 18:49:21   
                                阅读次数:
289
                             
                         
                    
                        
                            
                            
                                    1 public int lengthOfLongestSubstring(String s) { 2 long length = s.length(); 3 String tmp = ""; 4 int substringLength = 0; 5 for (int i = 0; i substr... ...
                            
                            
                                分类:
其他好文   时间:
2017-01-03 23:59:03   
                                阅读次数:
323
                             
                         
                    
                        
                            
                            
                                Problem: Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Example: 本题的第一想法是开一个字母表计数 ...
                            
                            
                                分类:
其他好文   时间:
2016-12-28 07:49:01   
                                阅读次数:
189
                             
                         
                    
                        
                            
                            
                                代码块html页面:<!DOCTYPEhtml><html><head>	<metacharset="utf-8">	<metahttp-equiv="X-UA-Compatible"content="IE=edge">	<title>css3Gradients</title></head><body>	<divclass="grad-repeating-lg">重复的线..
                            
                            
                                分类:
Web程序   时间:
2016-12-16 20:01:44   
                                阅读次数:
200