码迷,mamicode.com
首页 >  
搜索关键字:longest substring    ( 5540个结果
hdu3308 LCIS
Problem Description Given n integers. You have two operations: U A B: replace the Ath number by B. (index counting from 0) Q A B: output the length of the longest consecutive increasing subseque...
分类:其他好文   时间:2015-05-27 10:22:54    阅读次数:174
【Palindrome Partitioning】cpp
题目:Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, ...
分类:其他好文   时间:2015-05-26 18:03:37    阅读次数:129
[LintCode] Longest Increasing Continuous subsequence II
http://www.lintcode.com/en/problem/longest-increasing-continuous-subsequence-ii/# Give you an integer matrix (with row size n, column size m),find the...
分类:其他好文   时间:2015-05-26 17:54:40    阅读次数:123
javascript中字符串截取的两种方法
var testStr = "hello kay!";1、substr testStr.substr(1) ->ello kay! testStr.substr(1,4) ->ello (4是长度)2、substring testStr.substring(1) ->ello ka...
分类:编程语言   时间:2015-05-26 17:53:18    阅读次数:135
[LintCode] Longest Increasing Continuous subsequence
http://www.lintcode.com/en/problem/longest-increasing-continuous-subsequence/# Give you an integer array (index from 0 to n-1, where n is the size of ...
分类:其他好文   时间:2015-05-26 12:19:11    阅读次数:144
DBA-常用到的动态视图分析语句
--语句1:获取前20逻辑读取次数或逻辑写入次数或CPU 时间SELECT TOP 20 SUBSTRING(qt.TEXT, (qs.statement_start_offset/2)+1,((CASE qs.statement_end_offsetWHEN -1 THEN DATALENGTH(...
分类:数据库   时间:2015-05-26 12:12:34    阅读次数:166
Pascal's Triangle
题目描述: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example, Given [100, 4, 200, 1, 3, 2], The longest consecutive elements sequence ...
分类:其他好文   时间:2015-05-26 10:43:32    阅读次数:129
Palindrome Partitioning -- leetcode
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = "aab", Return [ ["aa","...
分类:其他好文   时间:2015-05-25 22:36:35    阅读次数:123
leetcode Longest Common Prefix 14
leetcode Longest Common Prefix 14...
分类:其他好文   时间:2015-05-25 14:45:07    阅读次数:120
Longest Common Prefix
Longest Common Prefix   Write a function to find the longest common prefix string amongst an array of strings. 注意:java中字符串求长度可以用s.length()方法,但是数组求长度直接一个a.length就可以了。 思路:先求最短字符串长度,之后从第一个字符串的第...
分类:其他好文   时间:2015-05-25 14:35:33    阅读次数:103
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!