思想: Morris traversal.
Solution 1 : Preorder traversal
Solution 2: Inorder traversal.
Solution 3: Morris Traversal.
分类:
其他好文 时间:
2014-08-27 20:25:48
阅读次数:
273
--登入数据库进行dml操作
[oracle@ora10g ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Aug 26 13:40:37 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved....
分类:
其他好文 时间:
2014-08-26 17:19:26
阅读次数:
297
iphone 5 recover photos can recover Nine types of txt content WhatsApp,Calendar,Reminder,App Document,Contacts,Messages,Notes,Safari bookmark,Call his...
class Solution {private: vector nodes;public: void recoverTree(TreeNode *root) { nodes.clear(); dfs(root); // 1 5 3 4 2 6 7...
分类:
其他好文 时间:
2014-08-25 01:07:23
阅读次数:
329
开机的时候按Esc调出GRUB菜单。进入高级模式。
选中恢复模式(recover mode)后按‘e’键。
把ro recovery nomodeset 改成rw single init=/bin/bash
然后按ctrl+x 进入单用户模式。
然后重置root密码,命令为 passwd root。
重启,就ok啦。...
分类:
其他好文 时间:
2014-08-23 14:02:20
阅读次数:
261
[root@athController~]#novalistERROR:Anunexpectederrorpreventedtheserverfromfulfillingyourrequest.(OperationalError)(1040,‘Toomanyconnections‘)NoneNone(HTTP500)解决办法:key_buffer=64Mmax_allowed_packet=16Mthread_stack=192Kthread_cache_size=8myisam-recover=B..
分类:
数据库 时间:
2014-08-20 10:35:46
阅读次数:
437
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:
其他好文 时间:
2014-08-17 21:08:02
阅读次数:
339
Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
Note:
A solution using O(n)
space is pretty s...
分类:
其他好文 时间:
2014-08-15 19:39:39
阅读次数:
222
数据库版本:11.2.0.4操作系统:primary:redhatlinux5.9standby:redhatlinux5.6primaryDB:rac+ASMstandbyDB:单节点+文件系统因为主库使用了asm文件系统,asm下创建表空间和添加数据文件,文件名默认后缀为会话线程号,而这些以线程号命名的文件,在通过日志传输到standby数..
分类:
其他好文 时间:
2014-08-15 18:08:19
阅读次数:
282
How to recover from an OGG-01028 Incompatible Record if the trail is not corrupt (Doc ID 1507462.1)Oracle GoldenGate - Version 9.5_EA and laterInforma...
分类:
其他好文 时间:
2014-08-14 20:28:19
阅读次数:
538