There are generally two methods to write DFS
algorithm, one is using recursion, another one is using stack. (reference from
Wiki Pedia)Pseudocode for ...
分类:
其他好文 时间:
2014-06-13 08:39:34
阅读次数:
218
测试环境版本CentOS 6.5先创建安装目标文件夹并进入至该文件夹
分类:
数据库 时间:
2014-06-13 00:43:37
阅读次数:
340
这里介绍的方法只适用于Centos平台,测试版本为centos
6.5下载源码安装实在麻烦,这里采用比较简单的方法给GO安装mongodb驱动
分类:
数据库 时间:
2014-06-12 23:39:29
阅读次数:
376
SUMMARY OF THE INVENTION The present invention
pertains to a write combining buffer for use in a microprocessor. The
microprocessor fetches data and i...
分类:
其他好文 时间:
2014-06-12 23:38:04
阅读次数:
435
最近项目用到了mongoDB,最近类似mongoDB的Nosql数据库也比较火爆,把这个写下来,便于自己回顾和大家学习.
在mongoDB中数据的关系是database,collection,document 放到关系型数据库里面就是库,表,数据.
1.在ubuntu下执行 sudo apt-get install mongo 安装mongo.
2.输入mongo进入数据...
分类:
数据库 时间:
2014-06-10 18:35:53
阅读次数:
333
原题地址:https://oj.leetcode.com/problems/longest-common-prefix/题意:Write
a function to find the longest common prefix string amongst an array of
strings.解...
分类:
编程语言 时间:
2014-06-10 16:31:52
阅读次数:
261
Write an algorithm to print all ways of arranging
eight queens on an 8*8 chess board so that none of them share the same row,
column or diagonal.思路:本质...
分类:
其他好文 时间:
2014-06-10 10:36:29
阅读次数:
182
Could not write metadata for '/test'.
这是由于删除一个项目时,没有同时在硬盘上删除该项目,而后又到硬盘文件系统中删除了该项目,才出现这问题的。
到eclipse工作空间workspace中找到\.metadata\.plugins\org.eclipse.core.resources\.projects
在其下面新建一个test再打开eclipse,在项...
分类:
系统相关 时间:
2014-06-10 07:47:39
阅读次数:
329
第一步自然是安装了,我是用Webstorm这个ide,安装分2步:
1、安装nodejs,下载Windows下的安装版本,注意是以msi为扩展名的,然后下一步,没啥好说的,下载地址如下:
32位的msi:http://nodejs.org/dist/latest/
64位的msi:http://nodejs.org/dist/latest/
2、安装WebStorm8.0.3,好像会自动找...
分类:
Web程序 时间:
2014-06-10 06:46:55
阅读次数:
283
system.js MongoDB存储javascript函数的地方
与python配合用...
分类:
数据库 时间:
2014-06-10 06:45:42
阅读次数:
260