原题地址:https://leetcode.com/problems/longest-substring-without-repeating-characters/#/description 没咋么过脑子,瞬间能想到的思路大概为: "abcabcbb"比如这个字符串首先 声明一个数组 里面存放各种开 ...
                            
                            
                                分类:
其他好文   时间:
2017-05-21 01:07:39   
                                阅读次数:
243
                             
                         
                    
                        
                            
                            
                                1195: OS Job Scheduling Time Limit: 2 Sec Memory Limit: 128 MB Submit: 106 Solved: 35 [Submit][Status][Web Board] Description OS(Operating System) is  ...
                            
                            
                                分类:
其他好文   时间:
2017-05-20 13:18:06   
                                阅读次数:
271
                             
                         
                    
                        
                            
                            
                                题目如下: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which th ...
                            
                            
                                分类:
其他好文   时间:
2017-05-19 12:58:53   
                                阅读次数:
186
                             
                         
                    
                        
                            
                            
                                    LeetCode Algorithm 原文出处:【LeetCode】 算法参考:【陈皓 coolshell】 3.Longest Substring Without Repeating Characters 3.Longest Substring Without Repeating Characte ...
                            
                            
                                分类:
其他好文   时间:
2017-05-18 16:56:09   
                                阅读次数:
139
                             
                         
                    
                        
                            
                            
                                1 public int lengthOfLongestSubstring(String s) { 2 char[] chars = s.toCharArray(); 3 //存储已遍历的元素中相应char值最后出现的位置 4 HashMap map = new HashMap(); 5 //当遍历... ...
                            
                            
                                分类:
其他好文   时间:
2017-05-14 13:40:20   
                                阅读次数:
132
                             
                         
                    
                        
                            
                            
                                什么是递归? 1. 定义 Wiki [1]:Recursion is the process of repeating items in a self-similar way. 具体到计算机中去 [2]: 递归(英语:Recursion),又译为递回,在数学与计算机科学中,是指在函数的定义中使用函数 ...
                            
                            
                                分类:
其他好文   时间:
2017-05-13 12:29:33   
                                阅读次数:
199
                             
                         
                    
                        
                            
                            
                                Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
                            
                            
                                分类:
其他好文   时间:
2017-05-12 14:26:28   
                                阅读次数:
102
                             
                         
                    
                        
                            
                            
                                3. Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Examples: Giv ...
                            
                            
                                分类:
其他好文   时间:
2017-05-09 11:23:13   
                                阅读次数:
131
                             
                         
                    
                        
                            
                            
                                    上题: 最简单粗暴的方法: 1 public class Solution { 2 public int lengthOfLongestSubstring(String s) { 3 String s1=new String(); 4 char[] c=s.toCharArray(); 5 int  ...
                            
                            
                                分类:
编程语言   时间:
2017-05-06 16:33:21   
                                阅读次数:
156
                             
                         
                    
                        
                            
                            
                                linear-gradient: (线性渐变) 创建遮罩图像。 radial-gradient: (径向渐变) 创建遮罩图像。 repeating-linear-gradient: 重复的(线性渐变) 创建背遮罩像。 repeating-radial-gradient: 重复的(径向渐变) 创建遮罩 ...
                            
                            
                                分类:
其他好文   时间:
2017-05-04 20:18:22   
                                阅读次数:
199