http://developer.51cto.com/art/201307/404612.htm150M active users300K Qps (read,
only 6000 write/s)22MB/s triffic800 redis server. (use redis list)内部组...
分类:
Web程序 时间:
2014-05-14 03:50:34
阅读次数:
365
数据库脚本(注意测试时先add-->load-->update-->delete-->list)UserMapper版--
---------------------------------------------------------- 主机: ...
分类:
移动开发 时间:
2014-05-12 22:29:59
阅读次数:
463
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 concatena...
分类:
其他好文 时间:
2014-05-12 22:27:04
阅读次数:
265
对于ms sqlserver数据库中可以直接使用top(n)提取前N
个结果,而oracle中并不能直接使用的。oracle中提供了对于提取前N 条的结果的方法 那就是用行编号例如:select
[column_list],ROWNUM from ( select [colum...
分类:
数据库 时间:
2014-05-12 22:14:41
阅读次数:
429
原题地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/题意:Given
a binary tree, return thebottom-up level ordertraversal of its node...
分类:
编程语言 时间:
2014-05-12 22:03:27
阅读次数:
581
原题地址:http://oj.leetcode.com/problems/convert-sorted-array-to-binary-search-tree/题意:将一个排序好的数组转换为一颗二叉查找树,这颗二叉查找树要求是平衡的。解题思路:由于要求二叉查找树是平衡的。所以我们可以选在数组的中间那...
分类:
编程语言 时间:
2014-05-12 21:44:57
阅读次数:
379
1.参考图像列表(reference picture list)
一般来说,h.264会把需要编码的图像分为三种类型:I、P、B,其中的B、P类型的图像由于采用了帧间编码的这种编码方式,而帧间编码又是以参考图像为基础进行的,因此需要有个参考图像列表来管理之前生成的参考图像,方便用于对当前图像进行.....
分类:
其他好文 时间:
2014-05-12 21:16:14
阅读次数:
435
原题地址:http://oj.leetcode.com/problems/convert-sorted-list-to-binary-search-tree/题意:将一条排序好的链表转换为二叉查找树,二叉查找树需要平衡。解题思路:两个思路:一,可以使用快慢指针来找到中间的那个节点,然后将这个节点作为...
分类:
编程语言 时间:
2014-05-12 21:07:00
阅读次数:
405
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=151
For each list of words, output a line with each word reversed without changing the order of the words.
This problem contains multi...
分类:
其他好文 时间:
2014-05-11 22:20:43
阅读次数:
443