码迷,mamicode.com
首页 >  
搜索关键字:longest substring    ( 5540个结果
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 lo...
分类:其他好文   时间:2015-10-06 22:12:48    阅读次数:479
JAVA 基础
1. ?The substring() Method in JDK 6 and JDK 7 http://www.programcreek.com/2013/09/the-substring-method-in-jdk-6-and-jdk-7/ 2.?String is passed by “reference” in Java http://www.programcreek.co...
分类:编程语言   时间:2015-10-06 12:59:37    阅读次数:195
LeetCode (32): Longest Valid Parentheses
链接:https://leetcode.com/problems/longest-valid-parentheses/【描述】Given a string containing just the characters'('and')', find the length of the longest ...
分类:其他好文   时间:2015-10-05 15:32:54    阅读次数:196
76. Minimum Window Substring (Map)
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S="ADOBECODEBA...
分类:Windows程序   时间:2015-10-04 19:41:05    阅读次数:196
Longest Palindromic Substring
题目: Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longe....
分类:其他好文   时间:2015-10-04 17:09:04    阅读次数:165
前端开发面试题整理(JS篇)
以下都是网上整理出来的JS面试题,答案仅供参考。/2,截取字符串abcdefg的efg//alert('abcdefg'.substring(4));//3,判断一个字符串中出现次数最多的字符,统计这个次数/*var str = 'asdfssaaasasasasaa';var json = {};...
分类:Web程序   时间:2015-10-04 15:58:08    阅读次数:385
32. Longest Valid Parentheses (Stack; DP)
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:其他好文   时间:2015-10-04 11:08:11    阅读次数:141
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-10-04 00:21:09    阅读次数:211
[LeetCode]Longest Consecutive Sequence
题目描述:(链接)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...
分类:其他好文   时间:2015-10-02 22:31:31    阅读次数:196
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 lette....
分类:其他好文   时间:2015-10-02 06:35:32    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!