Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:
其他好文 时间:
2014-08-18 13:02:02
阅读次数:
209
非常好的一篇分析const的总结归纳, 在此谢谢原作者:http://blog.csdn.net/zcf1002797280/article/details/7816977在普通的非 const成员函数中,this的类型是一个指向类类型的 const指针。可以改变this所指向的值,但不能改变 th...
分类:
编程语言 时间:
2014-08-18 12:16:04
阅读次数:
203
表空间状态-READ ONLY、READ WRITE
1. 只读表空间的主要用途就是为了消除对数据库大部分静态数据的备份和恢复的需要。Oracle不会更新只读表空间爱你的文件,因此这部分文件可以存储于只读介质中,例如CD-ROM或WORM drives。
2. 只读表空间并不是为了满足归档的要求。只读表空间不能修改。如果需要修改只读表空间中的记录,则需要先将表空间置为read/writ...
分类:
其他好文 时间:
2014-08-18 10:54:34
阅读次数:
193
之前是在linux下面直接Copy的data下面整个数据库文件夹,在phpMyAdmin里面重新赋予新用户相应权限后,drupal成功连接上数据库。但出现N多行错误提示,都是跟Cache相关的表是‘Read only‘,而且phpMyAdmin里面优化表也是提示”Table ‘xxx’ is rea...
分类:
数据库 时间:
2014-08-18 10:47:04
阅读次数:
184
Given a string containing only digits, restore it by returning all possible valid IP address combinations....
分类:
其他好文 时间:
2014-08-17 22:48:32
阅读次数:
217
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:
其他好文 时间:
2014-08-17 21:11:02
阅读次数:
213
#ifndef __QUEUE_H__#define __QUEUE_H__#include #include #include /* * Queues can have more than one producer but only one consumer. * This means that ...
分类:
其他好文 时间:
2014-08-17 14:14:22
阅读次数:
185
Managing Data in Containers
So far we've been introduced to some basic Docker concepts, seen how to work with Docker
images as well as learned about networking and links between containers. In th...
分类:
其他好文 时间:
2014-08-17 13:06:32
阅读次数:
271
C. Petya and SpidersLittle Petya loves training spiders. Petya has a boardn?×?min size. Each cell of the board initially has a spider sitting on it. A...
分类:
其他好文 时间:
2014-08-17 01:04:31
阅读次数:
245
#include
void fun(char *s,int *t);
main()
{
char s[80]="as15dw1zxx1";
int t;
printf("\nThe original string is :%s\n",s);
fun(s,&t);
printf("\nThe result is :%d\n",t);
}
void fun(char *s,int *t)
{...
分类:
其他好文 时间:
2014-08-16 22:32:51
阅读次数:
211