Subsets:Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set mus...
分类:
其他好文 时间:
2014-06-29 00:03:40
阅读次数:
272
postgresql的内存分配主要由shared_buffers、temp_buffers、work_mem、maintenance_work_mem参数控制。shared_buffers又可以叫做共享缓冲区,postgresql对数据操作时都要先将数据从磁盘读取到内存中,然后进行更新,最后再将数据...
分类:
数据库 时间:
2014-06-28 19:34:57
阅读次数:
347
BACKGROUNDThis relates to the operation of software under a virtualization technology (VT) environment.In a VT environment, such as the Intel VT or AM...
分类:
移动开发 时间:
2014-06-28 13:57:42
阅读次数:
248
编译erlang otp 17.0 一直提示:/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used whe...
分类:
其他好文 时间:
2014-06-28 13:16:07
阅读次数:
497
在实际产品运行中,对连接管理有了更新的认识,这里分享一下。shared_ptr管理连接对象的生命周期shared_ptr的引用计数器决定了连接对象的生命周期。这里我说的连接对象就是在我的前文:http://blog.csdn.net/csfreebird/article/details/852262...
分类:
其他好文 时间:
2014-06-23 08:26:05
阅读次数:
348
OpenMP中一个变量可以有三种类型,即shared、private和reduction,默认为shared,除非如下三种特别情况:一、在并行for循环中紧临parallel for 语句的循环变量是私有的;二、并行区域代码块里的声明的变量是私有的;三、所有通过private,firstprivat...
分类:
其他好文 时间:
2014-06-21 09:07:44
阅读次数:
249
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:
其他好文 时间:
2014-06-21 07:17:47
阅读次数:
210
题目:Convert Sorted Array to Binary Search TreeGiven an array where elements are sorted in ascending order, convert it to a height balanced BST.个人思路:1、选...
分类:
其他好文 时间:
2014-06-21 06:37:00
阅读次数:
183
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.说明:平衡二叉搜索树,即任何结点的左子树和右子树高度最多相差1的二叉搜索树。二叉搜索树:二叉查找树(Bin...
分类:
其他好文 时间:
2014-06-21 00:47:08
阅读次数:
221
【Unity3D自带Demo AngryBots路径】1、Windows: C:\Users\Public\Documents\Unity Porjects2、MacOSX: /Users/Shared/Unity 工程目录名均为:4-0_AngryBots。
分类:
其他好文 时间:
2014-06-20 21:30:36
阅读次数:
508