http://blog.csdn.net/zcynical/article/details/19241595写在前面:本文介绍的方法除第一步外,适用于所有CM系统支持的设备,第一步由于用到了PC上的Odin3软件刷入Recovery,因此只适用于三星设备,其他品牌的机器需要另找方法刷入Recover...
分类:
其他好文 时间:
2014-08-11 02:43:31
阅读次数:
445
Problem Description:
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 straigh...
分类:
其他好文 时间:
2014-08-08 21:22:36
阅读次数:
315
题目: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....
分类:
编程语言 时间:
2014-08-05 05:17:28
阅读次数:
265
An example of in-order traversal application. My intuition is that, we have to serialize it into an array and check, but in-order traversal does exact...
分类:
其他好文 时间:
2014-08-05 03:03:48
阅读次数:
241
为什么我们需要恢复innodb的字典信息?当我们drop 一个表时,发现误操作,这时表结构又没有备份,那么想恢复数据是非常困难的。所以我们想恢复被删除的表时,首先就需要恢复表结构,目前已经有了undrop-for-innodb这个工具,相比之前的工具percona-data-recovery-too...
分类:
数据库 时间:
2014-08-03 23:03:36
阅读次数:
497
ARC是iOS 5推出的新功能,全称叫 ARC(Automatic Reference Counting)。简单地说,就是代码中自动加入了retain/release,原先需要手动添加的用来处理内存管理的引用计数的代码可以自动地由编译器完成了。该机制在 iOS 5/ Mac OS X 10.7 开始导入,利用 Xcode4.2 可以使用该机制。简单地理解ARC,就是通过指定的语法,让编译器(LLV...
分类:
其他好文 时间:
2014-08-03 15:23:16
阅读次数:
206
今天项目要上线,在Archive时报错:ARC forbids explicit message send of 'release''release' is unavailable: not available in automatic reference counting mode 项目中有几个....
分类:
移动开发 时间:
2014-08-01 10:47:51
阅读次数:
277
解题报告
题意:
替换字符串,一个单词可重复替换
思路:
这种题都很恶心。
#include
#include
#include
#include
using namespace std;
char str[1000][1000],ch[1000][1000],sh[1000],str1[1000];
int main()
{
int n,i,j;
while(~...
分类:
其他好文 时间:
2014-08-01 00:05:00
阅读次数:
351