Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-06-21 09:18:50
阅读次数:
263
Question:There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity s...
分类:
其他好文 时间:
2014-06-21 08:34:52
阅读次数:
172
1.新建项目2.在项目中添加附加项目。A:在“解决方案资源管理器”中找到整个解决方案,右击,选择“添加”->“现有项目”。在弹出的对话框中找到“项目目录/cocos2d/cocos/editor-support/cocostudio/proj.win32/libCocoStuido”点击确定。B:在...
分类:
其他好文 时间:
2014-06-21 00:26:23
阅读次数:
389
// Question: There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexi...
分类:
其他好文 时间:
2014-06-21 00:22:23
阅读次数:
255
Web Service It is based on SOAP and return data in XML form. It support only HTTP protocol. It is not open source...
最近在学习搭建Hadoop,直接从Apache官方网站直接下载最新版本Hadoop2.2,结果运行时发现提示 “libhadoop.so.1.0.0 which might have disabled stack guard” 的警告。Google了一下发现是因为 hadoop 2.2.0提供的是l...
分类:
其他好文 时间:
2014-06-18 10:10:52
阅读次数:
553
在练习spring项目的过程中,出现了如下异常信息:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.springframework.context.support.AbstractApplicationContext.(Abstrac...
分类:
编程语言 时间:
2014-06-18 07:15:20
阅读次数:
236
在php5.3之前,为某变量分配内存是用宏MAKE_STD_ZVAL;737 #define MAKE_STD_ZVAL(zv) \ # /Zend/zend.h738 ALLOC_ZVAL(zv); \739 INIT_PZVAL(zv);165 #define ALLOC_Z...
分类:
Web程序 时间:
2014-06-17 23:58:43
阅读次数:
451
一、Git的特性
Speed 速度(git是用c语言写的。一般都是提交到本地)
Simple design
Strong support for non-linear development (thousands of parallel branches)(强有力的支持非线性开发)
Fully distributed(分布式)
Able to handle large projects...
分类:
其他好文 时间:
2014-06-17 21:42:13
阅读次数:
272
rsyslog服务端配置centos6.4x64系统系统自带rsyslog5.8版本rsyslog是一个syslogd的多线程增强版。现在Fedora和Ubuntu,rhel6默认的日志系统都是rsyslog了rsyslog负责写入日志,logrotate负责备份和删除旧日志,以及更新日志文件####################################首先部署好lam..
分类:
其他好文 时间:
2014-06-17 16:56:50
阅读次数:
365