题目: 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
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
链接: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
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...
题目: 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面试题,答案仅供参考。/2,截取字符串abcdefg的efg//alert('abcdefg'.substring(4));//3,判断一个字符串中出现次数最多的字符,统计这个次数/*var str = 'asdfssaaasasasasaa';var json = {};...
分类:
Web程序 时间:
2015-10-04 15:58:08
阅读次数:
385
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
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
题目描述:(链接)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
题目: 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