码迷,mamicode.com
首页 >  
搜索关键字:substring with conca    ( 3920个结果)
5.Longest Palindromic Substring (String; DP)
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 longes...
分类:其他好文   时间:2015-07-14 09:48:50    阅读次数:130
LeetCode——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-07-13 22:01:03    阅读次数:106
SQL2008-截取字段函数
ltrim() int转字符Left('ABC',2)='AB'right('ABC',2)='BC'SUBSTRING('ABC',1,2)='AB' 和DELPHI中的COPY一样Substring('http://www.baidu.com',CHARINDEX('www','http://w...
分类:数据库   时间:2015-07-13 15:34:18    阅读次数:157
查询sql server 执行过的sql
SELECT TOP 1000? --创建时间? QS.creation_time,? --查询语句? SUBSTRING(ST.text,(QS.statement_start_offset/2)+1,? ((CASE QS.statement_end_offset WHEN -1 THEN DATALENGTH(st.text)? ELSE QS.statem...
分类:数据库   时间:2015-07-13 12:26:16    阅读次数:174
LeetCode3: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 3. For “...
分类:其他好文   时间:2015-07-13 00:51:06    阅读次数:112
js中substring和substr和slice的用法
1.substring 方法用于提取字符串中介于两个指定下标之间的字符substring(start,end)开始和结束的位置,从零开始的索引参数 描述start 必需。一个非负的整数,规定要提取的子串的第一个字符在 stringObject 中的位置。stop 可选。一个非负的整数...
分类:Web程序   时间:2015-07-12 17:20:54    阅读次数:154
[LeetCode][Java] Longest Valid Parentheses
题目: Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", the longest valid parentheses substring is...
分类:编程语言   时间:2015-07-12 12:55:23    阅读次数:140
jQuery之常用且重要方法梳理(target,arguments,slice,substring,data,trigger)-(一)
1.jquery data(name)data() 方法向被选元素附加数据,或者从被选元素获取数据。$("#btn1").click(function(){ $("div").data("greeting", "Hello World");});$("#btn2").click(function(....
分类:Web程序   时间:2015-07-12 12:38:36    阅读次数:138
[LeetCode][Java] Substring with Concatenation of All Words
题目: You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation of each word in wordsexactly o...
分类:编程语言   时间:2015-07-11 13:43:48    阅读次数:148
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 longes...
分类:其他好文   时间:2015-07-11 09:00:02    阅读次数:101
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!