Redis Linux 安装由于 Redis 并没有发布 windows
的官方版本,windows 的安装使用不作介绍,只介绍 Linux 下的安装使用。
下载地址:https://github.com/dmajkic/redis/downloads下载最新版本然后tar, make,即可。(ma...
分类:
系统相关 时间:
2014-05-14 03:28:02
阅读次数:
424
原题地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal/题意:二叉树的层序遍历的实现。解题思路:二叉树的层序遍历可以用bfs或者dfs来实现。这里使用的dfs实现,代码比较简洁。实际上,二叉树的先序遍历就是dfs实...
分类:
编程语言 时间:
2014-05-14 03:25:59
阅读次数:
428
linux复制多个文件到文件夹cp file1 file2 file3
directory即将文件file1 file2 file3复制到directory
分类:
系统相关 时间:
2014-05-14 03:03:22
阅读次数:
251
原题地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/题意:Given
a binary tree, return thebottom-up level ordertraversal of its node...
分类:
编程语言 时间:
2014-05-12 22:03:27
阅读次数:
581
原题地址:http://oj.leetcode.com/problems/binary-tree-zigzag-level-order-traversal/题意:Given
a binary tree, return thezigzag level ordertraversal of its nod...
分类:
编程语言 时间:
2014-05-12 22:02:26
阅读次数:
480
参考自linux-2.6.32.61\Documentation\power\regulator一、简介电源框架能够动态调节电源输出,以达到省电效果。二、基本术语Regulator供其他设备电源的电子设备,一些电源具有开关及控制输出的电压电流。PMIC(Power
Management IC)电源管...
分类:
系统相关 时间:
2014-05-12 21:58:19
阅读次数:
553
原题地址:http://oj.leetcode.com/problems/minimum-depth-of-binary-tree/题意:Given
a binary tree, find its minimum depth.The minimum depth is the number of no...
分类:
编程语言 时间:
2014-05-12 21:55:15
阅读次数:
348
转载自http://blog.kgzx.net/index.php/archives/40/因为类库兼容性的关系,写实际项目时都是用 Python
2,但自己试验性的写点小东西还是喜欢用 Python 3在这记录一下在 windows 下让这两个版本共存的配置步骤在官网下载两个版本的 exe 文件并...
分类:
编程语言 时间:
2014-05-12 21:48:04
阅读次数:
354
原题地址:http://oj.leetcode.com/problems/convert-sorted-array-to-binary-search-tree/题意:将一个排序好的数组转换为一颗二叉查找树,这颗二叉查找树要求是平衡的。解题思路:由于要求二叉查找树是平衡的。所以我们可以选在数组的中间那...
分类:
编程语言 时间:
2014-05-12 21:44:57
阅读次数:
379
原文地址:http://blog.csdn.net/pcliuguangtao/article/details/6526119/*共享内存允许两个或多个进程进程共享同一块内存(这块内存会映射到各个进程自己独立的地址空间)
从而使得这些进程可以相互通信。 在GNU/Linux中所有的进程都有唯...
分类:
系统相关 时间:
2014-05-12 21:28:35
阅读次数:
725