码迷,mamicode.com
首页 >  
搜索关键字:rac one node    ( 66256个结果
Maximum Subarray
题目 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,?1,2,1,?5,4], the contiguous subarray [4,...
分类:其他好文   时间:2014-06-19 12:08:20    阅读次数:270
LeetCode——Balanced Binary Tree
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never diffe...
分类:其他好文   时间:2014-06-19 11:23:05    阅读次数:204
linux下Oracle11g RAC搭建(三)
linux下Oracle11g RAC搭建(三) 二、配置安装环境 (node1、node2)  建立组、用户、目录并修改权限(node1、node2) node1上建立组、用户、初始密码 建立组:#groupadd [-g] [gid] [组名] 建立用户:#useradd [-u] [uid] [ -g][ 用户的主组] [ –G] [用户的副组] [用户名] 执行脚本:#...
分类:数据库   时间:2014-06-16 12:08:10    阅读次数:424
[Leetcode] Word Break
Question:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.F...
分类:其他好文   时间:2014-06-16 07:32:47    阅读次数:186
在windows系统用odbc连接
当连接的数据出现失败时,出现数据库别名仍然存在,但还是要用这个别名重新建立连接在windows客户端,用输入db2cmd输入c:\Users\yexuxia>db2 list db directory显示数据库别名、数据库名称、节点名C:\Users\yexuxia>db2 list node di...
分类:数据库   时间:2014-06-16 07:09:10    阅读次数:287
表 (list)
表(list)是常见的数据结构。从数学上来说,表是一个有序的元素集合。在C语言的内存中,表储存为分散的节点(node)。每个节点包含有一个元素,以及一个指向下一个(或者上一个)元素的指针。如下图所示:表: 橙色储存数据,蓝色储存指针图中的表中有四个节点。第一个节点是头节点(head node),这个...
分类:其他好文   时间:2014-06-16 00:20:12    阅读次数:308
NOI2003 逃学的小孩
这一题不会做啊……我觉得真要比赛的话我可能会随机上几万次,然后再用LCA求距离,更新最优值,等到快超时的时候输出答案……题解请看2007年陈瑜希论文代码: 1 const maxn=400100; 2 type node=record 3 w,go,next:longint; 4 ...
分类:其他好文   时间:2014-06-13 18:19:27    阅读次数:205
三维bfs(HUD1253胜利大逃亡)
#include #include int map[51][51][51];int v[51][51][51];int a,b,c,t11;struct node{ int x,y,z,ans;}q[200001];int jx[6]={0,0,0,0,-1,1};int jy[6]={0,0...
分类:其他好文   时间:2014-06-13 17:10:39    阅读次数:157
[LeetCode OJ] Best Time to Buy and Sell Stock I
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-06-13 15:55:47    阅读次数:273
每天一个小算法(3)----倒序打印链表
这个比较简单,用栈、递归、倒转链表都可以实现,不再过多解释。代码使用递归实现 1 #include 2 #include 3 #include 4 typedef struct Node 5 { 6 int data; 7 Node* next; 8 }Node, *List;...
分类:其他好文   时间:2014-06-13 15:25:59    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!