1.概念Cache-control用于控制HTTP缓存(在HTTP/1.0中可能部分没实现,仅仅实现了Pragma:
no-cache)数据包中的格式:Cache-Control:cache-directivecache-directive可以为以下:request时用到:|
"no-cache"|...
分类:
其他好文 时间:
2014-05-12 16:25:03
阅读次数:
245
二、栈与队列 1、栈的定义 栈(Stack)是限制仅在表的一端进行插入和删除运算的线性表。
(1)通常称插入、删除的这一端为栈顶(Top),另一端称为栈底(Bottom)。 (2)当表中没有元素时称为空栈。 (3)栈为后进先出(Last In
First Out)的线性表,简称为LI...
分类:
编程语言 时间:
2014-05-06 09:00:26
阅读次数:
414
Say you have an array for which theithelement
is the price of a given stock on dayi.Design an algorithm to find the maximum
profit. You may complete a...
分类:
其他好文 时间:
2014-05-06 00:51:29
阅读次数:
353
这3个系列的书我买了不少本,虽然没有都读完,但是还是要做个阶段性的评价for
dummies:即阿呆系列,外教老师Chris说那是入门的书,知识量少,我觉得自己开辟一个新的学习计划时,这个系列的书是很有帮助的,细分两个子系列all-in-one
for dummies:这个系列的书厚些,通常是几本书...
分类:
其他好文 时间:
2014-05-05 23:16:11
阅读次数:
272
今天阅读《Outlook 2010 Inside Out》时,上机操作时有几个小发现win 7
自带截屏工具(360浏览器有,SnagIt更强大)win
7自带便签纸(当然比不上Outlook中的便签,更不能与OneNote比了!)程序中百宝箱内有ReadyFor4GB.exe可帮助突破32位4G内...
分类:
其他好文 时间:
2014-05-05 23:14:25
阅读次数:
356
Problem
Link:http://oj.leetcode.com/problems/longest-consecutive-sequence/This problem
is a classical problem where we can reduce the running time by ...
分类:
其他好文 时间:
2014-05-05 22:55:22
阅读次数:
552
最近看tomcat源码,这类接口多的有点眩,整理出来看一下。(基于tomcat4)javax.servlet.ServletRequset接口,和org.apache.catalina.Request接口,有什么联系?其实就是对Request不同层面上的定义。一、首先看下javax.servlet....
分类:
其他好文 时间:
2014-05-05 22:53:53
阅读次数:
457
Link:http://oj.leetcode.com/problems/reverse-nodes-in-k-group/Given a linked
list, reverse the nodes of a linked listkat a time and return its modifie...
分类:
其他好文 时间:
2014-05-05 22:46:42
阅读次数:
456
异常代码形式:严重: Exception occurred during processing
request: nulljava.lang.NullPointerException at
com.opensymphony.xwork2.util.LocalizedTextUtil.findText...
分类:
其他好文 时间:
2014-05-05 22:38:50
阅读次数:
527
拼图Time Limit:1000MSMemory
Limit:65535KBSubmissions:117Accepted:69Description给你1x2、2x1和2x2,3种矩形若干,请你计算出把它们放入2xn的矩形中,一共有多少方法?Input输入有多组测试数据没行输入一个整数n
, 3...
分类:
其他好文 时间:
2014-05-05 22:35:15
阅读次数:
435