Apache Module mod_reqtimeoutAvailable
Languages:enDescription:Set timeout and minimum data rate for receiving
requestsStatus:ExtensionModuleIdentifier...
分类:
其他好文 时间:
2014-05-19 19:31:41
阅读次数:
310
Construct Binary Tree from Preorder and Inorder
TraversalGiven preorder and inorder traversal of a tree, construct the binary
tree.Note:You may assume...
分类:
其他好文 时间:
2014-05-19 18:43:40
阅读次数:
177
比较经典一个课程学分表C(cno, cname, ccredit)一个学生选课表SC(sno,
cno, grade)select sno from sc,c where sc.cno=c.sno and sc.grade>=60 group by
sno having sum(credit)>=3...
分类:
其他好文 时间:
2014-05-19 17:06:41
阅读次数:
218
【题目】
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked list becomes 1->2->3->5.
Note:
Given n will ...
分类:
其他好文 时间:
2014-05-18 18:48:03
阅读次数:
269
Binary Tree Level Order Traversal
Total Accepted: 12441 Total
Submissions: 40879My Submissions
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left t...
分类:
其他好文 时间:
2014-05-18 10:11:13
阅读次数:
337
【题目】
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
【题意】
把罗马数转换为整数
【思路】
罗马数字中只使用如下七个基值字母:M,D,C,L,X,V,I,分别用来表示1000、500、100、50、10、5、1。
大体思路是每个罗马字母对应的值相加即可,
但需要处理900, 400, 90, 40, 9, 4这几个特殊...
分类:
其他好文 时间:
2014-05-18 07:58:54
阅读次数:
293
from ConfigParser import RawConfigParser as rcp
if __name__ == "__main__":
cfg = rcp()
cfg.add_section("Info")
cfg.set("Info", "ImagePath", "f:/whu")
cfg.set("Info", "foo", "cd'...
分类:
其他好文 时间:
2014-05-18 05:58:51
阅读次数:
284
利用d3,js将数据可视化,可以做到数据与代码的分离,方便以后修改数据。
这次利用d3.js绘制了一个五维的雷达图,即将多个对象的五种属性在一张图上对比。
数据写入data.csv、数据类型写入type.csv文件。
效果如下图所示
源码连接:http://download.csdn.net/detail/svap1/7358123
使用是只需调用 radar()函数即可,如...
分类:
Web程序 时间:
2014-05-18 05:55:45
阅读次数:
372
ledisdb现在可以支持嵌入式使用。你可以将其作为一个独立的lib(类似leveldb)直接嵌入到你自己的应用中去,而无需在启动单独的服务。ledisdb提供的API仍然类似redis接口。首先,你需要创建db对象:import "github.com/siddontang/ledisdb/ledis"
configJson = []byte('{
"data_db" :
{...
分类:
数据库 时间:
2014-05-18 05:02:25
阅读次数:
412
链表是数据结构的基础内容之一,下面就链表操作中的创建链表、打印链表、求取链表长度、判断链表是否为空、查找结点、插入结点、删除结点、逆转链表、连接链表、链表结点排序等进行总结。
1.创建表示结点的类,因为链表操作中需要比较结点,因此结点需要实现comparable接口。
public class Node implements Comparable {
private Object data;...
分类:
其他好文 时间:
2014-05-18 03:04:38
阅读次数:
316