longest substring问题最长子串滑动窗口HashMap 1.题目描述Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcb... ...
分类:
其他好文 时间:
2017-08-25 12:23:46
阅读次数:
146
longest substring问题最长子串滑动窗口HashMap 1.题目描述Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcb... ...
分类:
其他好文 时间:
2017-08-25 11:01:25
阅读次数:
170
Python 重载运算符 __add__ __radd__ __eq__ ...
分类:
编程语言 时间:
2017-08-24 21:25:56
阅读次数:
224
Given an array, find the longest increasing subsequence in this array. The same problem link. [LintCode] Longest Increasing Subsequence ...
分类:
其他好文 时间:
2017-08-24 10:31:38
阅读次数:
95
Find longest bitonic subsequence in given array. Bitonic subsequence first increases then decreases. Same problem link Longest Bitonic Subsequence ...
分类:
其他好文 时间:
2017-08-22 13:16:35
阅读次数:
138
In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic ...
分类:
其他好文 时间:
2017-08-22 10:32:06
阅读次数:
160
思路: 对于每个数,尽量放在已有子序列的后面;如果不能,就创建一个新的子序列。 实现: ...
分类:
其他好文 时间:
2017-08-21 19:41:02
阅读次数:
153
最近死磕较高难度的题目 深感自己的基本数据结构掌握不够熟练 因此 刷题较慢了些 刷了一道简单的题目涨涨自信 题目:Given a string which consists of lowercase or uppercase letters, find the length of the longe ...
分类:
其他好文 时间:
2017-08-20 21:11:15
阅读次数:
189
当你使用PHP(或其他编程语言)完成一个web程序的开发,并且web程序在Apache服务器上正常运行的时候,你有没有考虑过对你的Apache服务器及部署在其上的web程序进行一些压力测试呢?毕竟,真金不怕火炼,只要配置优化合理、程序代码运行性能良好、硬件撑得住,通过压力测试我们就能看到一个喜人的成 ...
分类:
Web程序 时间:
2017-08-19 18:41:45
阅读次数:
219
Given a number n, find the total number of numbers from 0 to 2^n - 1 which do not have consecutive 1s in their binary representation. Solution. This p ...
分类:
其他好文 时间:
2017-08-19 11:07:00
阅读次数:
117