TCPIP网络协议层对应的RFC文档RFC - Request For Comments请求注解TCP/IP层网络协议RFC文档Physical LayerData Link LayerARP-Address Resolution ProtocolRFC826(ENCN)RARP-Reverse A...
分类:
其他好文 时间:
2014-07-26 00:53:56
阅读次数:
423
描述:计算逆波兰表达法的结果Sample: ["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9 ["4", "13", "5", "/", "+"] -> (4 + (13 / 5)) -> 6使用stack实现: 1 def is_op(c): 2 .....
分类:
其他好文 时间:
2014-07-26 00:13:26
阅读次数:
265
NHibernate 是一个面向.NET 环境的对象/关系数据库映射工具。对象关系映射(O/R Mapping,Object Relational Mapping)表示一种技术,用来把对象模型表示的对象映射到基于SQL 的关系模型数据结构中去。NHibernate官方站点:http://nhforg...
分类:
系统相关 时间:
2014-07-25 18:52:31
阅读次数:
205
Comparison-based sorting takes O(nlgn), so hashset is a good idea. After keeping records of all numbers in the hashset, you start checking each number...
分类:
其他好文 时间:
2014-07-25 03:40:54
阅读次数:
305
自动生成DO,手写DAO:Myeclipse添加Hibernate支持:注意别勾abstract生成DO:进入MyEclipse的Database Explorer右键要操作的表(注意一定要有主键)点击Hibernate Reverse,其中Id选择native。手写DAO:Configuratio...
分类:
系统相关 时间:
2014-07-25 03:36:14
阅读次数:
305
入手三板斧:servlet、filter、listener 1.从servlet节点入手,包括servlet-name、servlet-class、init-param(param-name、param-value)、load-on-startup 2.servlet对应的servlet-mapping节点,包括servlet-n...
分类:
Web程序 时间:
2014-07-25 00:03:44
阅读次数:
230
A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message conta...
分类:
其他好文 时间:
2014-07-24 21:56:32
阅读次数:
219
JavaScript 检查 email 地址的正则表达式?1.代码(1)Checking an email address - Version 01This page allows you to enter and checkan email address such as asdf@java2s....
分类:
编程语言 时间:
2014-07-24 21:22:46
阅读次数:
347
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sin....
分类:
编程语言 时间:
2014-07-24 10:01:23
阅读次数:
223
Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click...
分类:
其他好文 时间:
2014-07-24 09:57:33
阅读次数:
179