Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operations permitted on a word:
a) Insert a character
b) Delete a character
c) Replace a...
分类:
其他好文 时间:
2015-01-10 18:15:43
阅读次数:
181
闪回技术(flashback)示例一、删除emp和deptDROP TABLE emp;DROP TABLE dept;查看回收站:SELECT * FROM RECYCLEBIN--内容过多SELECT object_name,original_name 原来的名称,operation 操作,TY...
分类:
其他好文 时间:
2015-01-10 18:02:05
阅读次数:
252
同步思想:
先介绍客户端为最新数据的数据同步问题,这种机制常常应用在云笔记,随手记类似的app。
这里我建了一个listview,对listview上item的增删改,来代替实际项目中的情况。
1.对listview 和本地数据表datatable表(使用id作为数据唯一表示)映射,实现增删改。
2.每次将对本地数据表的操作记录在operation表中,在表中记录该操作的时间戳。
...
分类:
移动开发 时间:
2015-01-08 21:44:52
阅读次数:
884
Problem Description lxhgww got a sequence contains n characters which are all '0's or '1's. We have five operations here: Change operations: 0 a...
分类:
其他好文 时间:
2015-01-08 14:59:13
阅读次数:
288
Android进程一 1、复习结构 Engine基类 -abstract operation() 接口Interface Tire子类 -operation() 2、Process class、module、app在内存的某一区域执行,每块区域之间有一个隔阂,原则不能相互调用 通过一...
分类:
移动开发 时间:
2015-01-07 23:30:56
阅读次数:
277
一个字符串压缩程序,将字符串中连续出席的重复字母进行压缩,并输出压缩后的字符串...
分类:
其他好文 时间:
2015-01-07 18:49:29
阅读次数:
114
标题:【原创】利用NtProtectVirtualMemory结束进程作者:KiDebug时间:2011-07-13,09:37:08链接:http://bbs.pediy.com/showthread.php?t=137067 原理很简单,用PROCESS_VM_OPERATION打开目标进程(没...
分类:
系统相关 时间:
2015-01-07 12:59:44
阅读次数:
242
某日监控报存储过程执行失败,查看返回码为sql668n[db2inst1@limt bin]$ db2 ? sql668nSQL0668N Operation not allowed for reason code "" on table "".Explanation: Access t...
分类:
数据库 时间:
2015-01-06 21:30:19
阅读次数:
281
面向对象,是当今编程的主流,对于研发人员,可能对面向对象,多多少少的有一些认识,但是有些不常用的或许不是特别清楚。有时也是很有用的。下面就介绍几点知识。
一、final 关键字的一些知识:
1、final 关键字作为方法是可以被子类继承的。如下面:
class A{
final function operation(){
echo 'a...
分类:
Web程序 时间:
2015-01-06 20:05:56
阅读次数:
136
Installation Configuration Set user name and email Add SSH keys Repository Create New Repository Clone Existing Repository Git Operation Pull Push Mer...
分类:
其他好文 时间:
2015-01-06 17:21:30
阅读次数:
207