Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2015-06-27 06:24:03
阅读次数:
127
It sounds insane(疯狂的).But a study of IT professionals(专业人士) released Wednesday suggests that Microsoft should be able to hit that target with ease.40%...
分类:
其他好文 时间:
2015-06-27 06:26:21
阅读次数:
136
Schema简述Schema —— 一种以文件形式存储的数据库模型骨架,无法直接通往数据库端,也就是说它不具备对数据库的操作能力,仅仅只是数据库模型在程序片段中的一种表现,可以说是数据属性模型(传统意义的表结构),又或着是“集合”的模型骨架。那如何去定义一个Schema呢,请看示例:var mong...
分类:
其他好文 时间:
2015-06-27 06:24:17
阅读次数:
215
log4j配置Log4j支持两种配置文件格式,一种是XML格式的文件,一种是properties格式的文件。1.log4j.properties配置方法:步骤:0.下载log4j的jar包;1.新建java项目;2.新建包:3.新建类:4.在src下新建log4J.properites文本文件...
分类:
其他好文 时间:
2015-06-27 06:22:55
阅读次数:
154
Given a sorted integer array without duplicates, return the summary of its ranges.For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"].Credits...
分类:
其他好文 时间:
2015-06-27 06:24:14
阅读次数:
170
查询之前我们的集合已经创建成功,我们就先来进行第一步操作 —— 查询。查询分很多种类型,如条件查询,过滤查询等等,今天只学习了最基本的find查询。举例:1.find查询: obj.find(查询条件,callback);Model.find({},function(error,docs){//若没...
分类:
其他好文 时间:
2015-06-27 06:21:13
阅读次数:
134
画板实验 清 空 生成图片 [lim_{x to 0} ]
分类:
其他好文 时间:
2015-06-27 06:23:31
阅读次数:
137
今天我们将学习Mongoose,什么是Mongoose呢,它于MongoDB又是什么关系呢,它可以用来做什么呢?MongoDB是一个开源的NoSQL数据库,相比MySQL那样的关系型数据库,它更显得轻巧、灵活,非常适合在数据规模很大、事务性不强的场合下使用。同时它也是一个对象数据库,没有表、行等概念...
分类:
其他好文 时间:
2015-06-27 06:21:02
阅读次数:
157
Summary RangesTotal Accepted: 2073 Total Submissions: 9344Given a sorted integer array without duplicates, return the summary of its ranges.For exampl...
分类:
其他好文 时间:
2015-06-27 06:23:31
阅读次数:
114
同事部署了一台服务器,网站架构使用django。其中部分网页访问出现TemplateDoesNotExist错误,导致无法访问。查看日志提示少了admin/base.html文件。查看对应网页,里面确实有一句代码{% extends "admin/base.html" %}。
不知道去哪里找这个文件,在网上看到说是django中缺少template文件。由于有另外一个完全一样的服务器,就在那个服...
分类:
其他好文 时间:
2015-06-27 01:18:20
阅读次数:
158
TCP/IP协议族-----24、网络管理(SNMP)...
分类:
其他好文 时间:
2015-06-27 01:19:34
阅读次数:
150
远程控制原理,灰鸽子各种方式上线原理...
分类:
其他好文 时间:
2015-06-27 01:19:06
阅读次数:
121
So, lets look at how CBC works first. The following picture shows the encryption when using CBC (in this case, using AES as the cipher).Basically, Cip...
分类:
其他好文 时间:
2015-06-27 01:17:09
阅读次数:
1287
storm依赖的软件 ZeroMQ 2.1.7 是一个消息处理队列库,可在多个线程、内核和主机盒之间弹性伸缩。 JZMQ 底层消息队列 jdk 1.6 PythonZeroMQ安装: wget http://download.zeromq.org/zeromq-2.1.7.tar.gztar...
分类:
其他好文 时间:
2015-06-27 01:16:42
阅读次数:
225
Six Degrees of Cowvin BaconTime Limit:1000MSMemory Limit:65536KTotal Submissions:3602Accepted:1675DescriptionThe cows have been maki...
分类:
其他好文 时间:
2015-06-27 01:15:20
阅读次数:
202
我算是一个很爱动手的人,而且动手能力也是很强的。记得小的时候家里的,电风扇,吹风机,录音机,VCD我都拆过,非常好奇里面到底是些什么东西,不过往往我把东西拆了都不能还原。常常招来家里人的责骂。呵呵不过我还是不会怕他们的。 上了初中的时候对物理非常的感兴趣,我没周五都会把书上的试验自己做一遍,做的时候...
分类:
其他好文 时间:
2015-06-27 01:15:27
阅读次数:
191
Description:Given a sorted integer array without duplicates, return the summary of its ranges.For example, given [0,1,2,4,5,7], return ["0->2","4->5",...
分类:
其他好文 时间:
2015-06-27 01:15:17
阅读次数:
291