码迷,mamicode.com
首页 >  
搜索关键字:substring with conca    ( 3920个结果)
LeetCode Algorithm 05
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2015-03-22 00:18:36    阅读次数:134
mysql 检查字符串是否包含子串
1、使用substring_index(src,target,index) 从src的开头查找第index个target。返回的substring为从src的开头到第num个target这段字符串。比如 substring_index('absscdessfss','ss',1) 返回ab subs...
分类:数据库   时间:2015-03-21 22:40:44    阅读次数:252
LeetCode Algorithm 03
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-03-21 21:12:41    阅读次数:150
[JS做LeetCode] Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters </htm
分类:Web程序   时间:2015-03-21 18:29:41    阅读次数:147
substring 在C#,Javascript,SQL 中index开始值
substring函数index参数在三个平台的开始值:平台index参数开始值C#0Javascript0SQL1
分类:数据库   时间:2015-03-20 18:10:38    阅读次数:111
JavaScript获取url后面的参数
说明:该方法摘自JavaScript高级程序设计function getQueryStringArgs(){ var qs = (location.search.length > 0 ? location.search.substring(1) : ""); var args = {}; va...
分类:编程语言   时间:2015-03-20 17:58:28    阅读次数:192
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 fo...
分类:其他好文   时间:2015-03-20 09:12:38    阅读次数:107
LeetCode – Refresh – Longest Substring Without Repeating Characters
For this problem, we are OK to use hash set, since no numbers are needed. 1 class Solution { 2 public: 3 int lengthOfLongestSubstring(string s) { ...
分类:其他好文   时间:2015-03-20 09:09:30    阅读次数:101
LeetCode – Refresh – Longest Substring with At Most Two Distinct Characters
At first beginning, I was trying to use hash set to record the characters. But I found that was wrong.Because if there are couple same chars, when you...
分类:其他好文   时间:2015-03-20 08:06:07    阅读次数:164
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 fo...
分类:其他好文   时间:2015-03-18 22:59:37    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!