码迷,mamicode.com
首页 >  
搜索关键字:substring with conca    ( 3920个结果
Substring with Concatenation of All Words leetcode java
题目:You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a conca....
分类:编程语言   时间:2014-07-28 14:39:03    阅读次数:1117
Longest Substring Without Repeating Characters leetcode java
题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter....
分类:编程语言   时间:2014-07-28 11:34:30    阅读次数:265
回文分割
周末女朋友不在家,打算做几题LeetCode的题目练练手,Pick One,随机抽中Palindrome Partitioning,题目如下: Given a strings, partitionssuch that every substring of the partition is a ...
分类:其他好文   时间:2014-07-28 11:32:20    阅读次数:417
leetcode-Palindrome Partitioning II
Palindrome Partitioning II  Total Accepted: 11791 Total Submissions: 66110My Submissions Given a string s, partition s such that every substring of the partition is a palindrome. Return t...
分类:其他好文   时间:2014-07-27 23:59:19    阅读次数:592
Apache POI Java读取100万行Excel性能优化:split vs indexOf+subString,谁性能好
使用Apache POI eventmodel实现一个Excel流式读取类,目标是100万,每行46列的,文件大小152MB的Excel文件能在20s读取并处理完。一开始实现的程序需要260s,离目标差太远了,使用jvisualvm分析各方法执行时间,结果如下:可以看到,程序中的splitLine和...
分类:编程语言   时间:2014-07-27 23:23:09    阅读次数:348
BNU 13174 Substring Frequency
3C. Substring FrequencyTime Limit: 1000msMemory Limit: 32768KB64-bit integer IO format:%lld Java class name:MainA string is a finite sequence of symbo...
分类:其他好文   时间:2014-07-27 22:33:49    阅读次数:319
1305: Substring
#include #include#includeusing namespace std;#define maxn 10100#define cls(x) memset(x, 0, sizeof(x))//好了,感觉上面的这个变得更加的牛逼了,直接是让大家看起来是像调用了一个函数的样子,然后就得到了...
分类:其他好文   时间:2014-07-27 22:28:49    阅读次数:220
[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...
分类:其他好文   时间:2014-07-27 10:25:42    阅读次数:179
Longest Valid Parentheses leetcode java
题目:Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the....
分类:编程语言   时间:2014-07-26 09:55:27    阅读次数:204
【leetcode刷题笔记】Substring with Concatenation of All Words
You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenati...
分类:其他好文   时间:2014-07-25 02:31:14    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!