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
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
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
Longest Substring Without Repeating Characters </htm
分类:
Web程序 时间:
2015-03-21 18:29:41
阅读次数:
147
substring函数index参数在三个平台的开始值:平台index参数开始值C#0Javascript0SQL1
分类:
数据库 时间:
2015-03-20 18:10:38
阅读次数:
111
说明:该方法摘自JavaScript高级程序设计function getQueryStringArgs(){ var qs = (location.search.length > 0 ? location.search.substring(1) : ""); var args = {}; va...
分类:
编程语言 时间:
2015-03-20 17:58:28
阅读次数:
192
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
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
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
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