码迷,mamicode.com
首页 >  
搜索关键字:longest substring    ( 5540个结果
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
Gartner:Hype Cycle for Emerging Technologies-2013
The “Hype Cycle for Emerging Technologies” report is the longest-running annual Hype Cycle, providing a cross-industry perspective on the technologies...
分类:其他好文   时间:2014-07-27 11:00:12    阅读次数:290
Gartner: Hype Cycle for Emerging Technologies-2012 (技术成熟度曲线) [转]
英文稿:The “Hype Cycle for Emerging Technologies” report is the longest-running annual Hype Cycle, providing a cross-industry perspective on the technolo...
分类:其他好文   时间:2014-07-27 10:59:02    阅读次数:413
[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 Consecutive Sequence leetcode java
题目: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 lon....
分类:编程语言   时间:2014-07-26 14:50:11    阅读次数:226
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
HDU - 3530 Subsequence
Description There is a sequence of integers. Your task is to find the longest subsequence that satisfies the following condition: the difference between the maximum element and the minimum element ...
分类:其他好文   时间:2014-07-25 11:06:41    阅读次数:242
LeetCode "Longest Consecutive Sequence"
Comparison-based sorting takes O(nlgn), so hashset is a good idea. After keeping records of all numbers in the hashset, you start checking each number...
分类:其他好文   时间:2014-07-25 03:40:54    阅读次数:305
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!