https://leetcode.com/problems/longest-substring-without-repeating-characters/
题目: 找一个字符串的连续子串,使得该子串里不含相同字母,求符合条件的最长的子串的长度。
算法: DP----后缀思想
最初考虑过用二分答案,发现复杂度应该是O(n*n*log(n)),其中n*n验证一个答案对不对,log(n)是...
分类:
其他好文 时间:
2015-05-09 20:31:16
阅读次数:
126
https://leetcode.com/problems/binary-tree-level-order-traversal-ii/ http://www.lintcode.com/zh-cn/problem/binary-tree-level-order-traversal-ii/# Given...
分类:
其他好文 时间:
2015-05-09 20:21:42
阅读次数:
140
https://leetcode.com/problems/multiply-strings/Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The nu...
分类:
其他好文 时间:
2015-05-09 20:18:04
阅读次数:
129
https://leetcode.com/problems/binary-tree-level-order-traversal/ http://www.lintcode.com/zh-cn/problem/binary-tree-level-order-traversal/# Given a bin...
分类:
其他好文 时间:
2015-05-09 18:52:00
阅读次数:
93
https://leetcode.com/problems/valid-sudoku/Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially...
分类:
其他好文 时间:
2015-05-09 13:04:55
阅读次数:
115
别人折腾的系统。刚开始,准备安装下tornado,报错,需要安装 gcc 和 python-develgcc安装报错,如标题所示:谷歌了一把:http://stackoverflow.com/questions/26484593/having-problems-installing-bzr-on-c...
分类:
数据库 时间:
2015-05-09 13:02:34
阅读次数:
400
题目链接:POJ 2151 Check the difficulty of problems
题面:
Check the difficulty of problems
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 5519
Accepted: 2431
...
分类:
其他好文 时间:
2015-05-09 10:19:17
阅读次数:
134
https://leetcode.com/problems/decode-ways/A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...
分类:
其他好文 时间:
2015-05-09 01:10:52
阅读次数:
103
‘build.plugins.plugin.version’ for com.pyx4me:proguard-maven-plugin is missing. @ line 42, column 12执行Maven Install的时候提示如下警告信息:[WARNING]
[WARNING] Some problems were encountered while building the eff...
分类:
其他好文 时间:
2015-05-08 18:15:39
阅读次数:
146
https://leetcode.com/problems/jump-game/Given an array of non-negative integers, you are initially positioned at the first index of the array.Each ele...
分类:
其他好文 时间:
2015-05-07 23:43:45
阅读次数:
125