码迷,mamicode.com
首页 >  
搜索关键字:swap nodes in pairs    ( 8848个结果
Linux下安装Oracle11g服务器
安装环境 Linux服务器:SuSe10 sp2 64位 Oracle服务器:Oracle11gR2 64位系统要求Linux安装Oracle系统要求系统要求说明内存必须高于1G的物理内存交换空间一般为内存的2倍,例如:1G的内存可以设置swap 分区为3G大小硬盘5G以上2.修改操作系统核心参数....
分类:数据库   时间:2014-12-22 17:49:59    阅读次数:241
leetcode Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2014-12-22 14:25:25    阅读次数:182
使用lua实现一个简单的事件派发器
设计一个简单的事件派发器,个人觉得最重要的一点就是如何保证事件派发过程中,添加或删除同类事件,不影响事件迭代顺序和结果,只要解决这一点,其它都好办。为了使用pairs遍历函数,重写了pairs(lua 5.2以上版本不需要):stdext.lualocal _ipairs = ipairsfunct...
分类:其他好文   时间:2014-12-22 14:09:37    阅读次数:268
storm相关技术
There are two kinds of nodes on a Storm cluster: the master node and the worker nodes.有两种节点,主节点和worker节点主节点,Nimbus:Nimbus is responsible for distribut...
分类:其他好文   时间:2014-12-22 11:04:29    阅读次数:140
【c语言】利用指针进行两个数的交换。
#includevoid swap(int *a,int *b){ int temp; temp=*a; *a=*b; *b=temp;}void main(){ int a,b,*m,*n; a=4; b=5; m=&a; n=&b; printf("a=%d,b=%d\n",a,b); swap...
分类:编程语言   时间:2014-12-21 23:23:28    阅读次数:361
Partition List(链表的插入和删除操作,找前驱节点)
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-12-21 17:59:12    阅读次数:150
【LeetCode】Same Tree
题目 Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. 解答 ...
分类:其他好文   时间:2014-12-21 16:38:18    阅读次数:110
点破Redis的VM
Redis的某一个key的value被swap到文件上的时候,该key的value指向的RedisObject将会改变成VMPointer,VMPointer保存了该value在磁盘文件上的信息,包括起始页面的偏移和连续的页面数等。[html] view plaincopytypedefstruct...
分类:其他好文   时间:2014-12-21 16:36:53    阅读次数:176
【LeetCode】Binary Tree Inorder Traversal
题目 Given a binary tree, return the inorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,3,2]. 解答 中序遍历二叉树。 递归法...
分类:其他好文   时间:2014-12-21 15:20:58    阅读次数:178
linux下安装 oracle 11g
oracle 11g安装 一、环境准备 划分区 / 15000M /tmp 4096M /boot 100M Swap 4096M /u01 剩余空间 2.更改主机名,ip地址 3.安装软件包 那么linux系统需要给oralce准备的环境就到这里结束了,下面就等系统安装好后开始安装oracle了 ...
分类:数据库   时间:2014-12-21 01:52:36    阅读次数:359
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!