码迷,mamicode.com
首页 >  
搜索关键字:longest substring    ( 5540个结果
[leetcode]Longest Valid Parentheses
Longest Valid Parentheses.
分类:其他好文   时间:2015-01-28 00:43:26    阅读次数:202
LeetCode --- 5. Longest Palindromic Substring
题目链接:Longest Palindromic Substring Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic ...
分类:其他好文   时间:2015-01-27 23:35:02    阅读次数:144
LeetCode --- 3. Longest Substring Without Repeating Characters
题目链接:Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters...
分类:其他好文   时间:2015-01-27 23:33:44    阅读次数:176
leetcode_3_Longest Substring Without Repeating Characters
描述: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is ...
分类:其他好文   时间:2015-01-27 20:21:40    阅读次数:149
leetcode_5_Longest Palindromic Substring
描述: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 思路: 刚开始非常天...
分类:其他好文   时间:2015-01-27 20:21:30    阅读次数:205
LeetCode Longest Palindromic Substring 最长回文子串
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.(最长回文子串) 中心扩展法: pub...
分类:其他好文   时间:2015-01-27 18:31:08    阅读次数:151
LeetCode14——Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings. 题目大意 写一个函数来找出所有字符串里最长的公共前缀。 难度系数:容易 实现 题目不难,基本思路大家都能想到,就是一些细节可能会遗漏。这个也没啥好算法,不管怎样,都需要一个个去比较。 所以没啥好说...
分类:其他好文   时间:2015-01-27 18:24:51    阅读次数:103
leetcode-----------Longest Palindromic Substring
题目:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 下面是英文,祝你好运 ...
分类:其他好文   时间:2015-01-27 16:35:09    阅读次数:363
Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. #include #includ...
分类:其他好文   时间:2015-01-27 15:02:38    阅读次数:164
sqlserver根据拼音查询数据
直接将底下的函数执行,通过后台传入相应的参数即可查询数据 create function f_GetPy(@str nvarchar(4000)) returns nvarchar(4000) as begin declare @strlen int,@re nvarchar(4000) declare @t table(chr nchar(1)...
分类:数据库   时间:2015-01-27 14:58:37    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!