介绍/dev/shm/是一个使用就是tmpfs文件系统的设备,其实就是一个特殊的文件系统。redhat中默认大小为物理内存的一半,使用时不用mkfs格式化。tmpfs是Linux/Unix系统上的一种基于内存的虚拟文件系统。tmpfs可以使用您的内存或swap分区来存储文件(即它的存储空间在virtualmemory中..
分类:
系统相关 时间:
2014-11-22 10:40:51
阅读次数:
222
Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[3,2,1].C+...
分类:
其他好文 时间:
2014-11-22 09:12:05
阅读次数:
173
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.If the number of nodes is not a multiple of k then le...
分类:
其他好文 时间:
2014-11-22 07:04:50
阅读次数:
136
Given a graph (V,E) where V is a set of nodes and E is a set of arcs in VxV, and an
ordering on the elements in V, then the bandwidth of a node
v is defined as the maximum distance in the ordering ...
分类:
其他好文 时间:
2014-11-21 23:21:51
阅读次数:
285
Generate ParenthesesGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a...
分类:
其他好文 时间:
2014-11-21 20:12:47
阅读次数:
175
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...
分类:
其他好文 时间:
2014-11-21 18:34:47
阅读次数:
167
Swap Nodes in PairsGiven a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2-...
分类:
其他好文 时间:
2014-11-21 18:16:43
阅读次数:
271
打开终端,cd 到.p12证书目录,执行以下命令openssl pkcs12-inCertificates.p12-outCertificates.pem-nodes然后输入导出的证书密码即可。
分类:
其他好文 时间:
2014-11-21 14:20:00
阅读次数:
182
今天diocp裙中[珠海]-芒果反应了一个关于SimpleMsgPack的问题 msgPack.AsFloat = 2.507182; 经过编码再解码后,会直接触发异常。 因为msgPack的标准,在打包的数据是大端法IEEE 754 下面是msgPack的标准说明 Float format fam...
分类:
其他好文 时间:
2014-11-21 14:12:45
阅读次数:
124
题目描述:
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 single digit. Add the two numbers and return i...
分类:
其他好文 时间:
2014-11-21 12:42:05
阅读次数:
241