Problem statement: Given two strings, find the longest common subsequence (LCS). Your code should return the length of LCS. Have you met this question ...
分类:
其他好文 时间:
2017-05-15 23:52:55
阅读次数:
381
MVC,MVP 和 MVVM 的图示 MVC(Model-View-Controller)是最常见的软件架构之一,业界有着广泛应用。它本身很容易理解,但是要讲清楚,它与衍生的 MVP 和 MVVM 架构的区别就不容易了。 昨天晚上,我读了《Scaling Isomorphic Javascript ...
分类:
Web程序 时间:
2017-05-15 09:57:34
阅读次数:
248
Problem statement: Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you ...
分类:
其他好文 时间:
2017-05-15 09:51:25
阅读次数:
147
建立Arx基本对话框,最好是基于CAcUidialog类. 首先添加combox控件更改一下属性: 先修改Owner Draw为Fixed,再更改Has Strings 为true Has Strings 如果不设置,文字会是乱码, 更改Type为Drop List 再添加对话框的变量. 添加这个控 ...
分类:
其他好文 时间:
2017-05-15 00:33:37
阅读次数:
319
1. String getOrderedString(boolean isDuplicated, String … str) 说明: Orders all characters in the input strings and return the ordered string.(note: onl ...
分类:
编程语言 时间:
2017-05-13 23:18:25
阅读次数:
251
Isomorphic Strings Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to g ...
分类:
其他好文 时间:
2017-05-13 20:02:29
阅读次数:
221
在Fedora 13 系统上编译busybox(非交叉编译)产生错误 root@localhost # make ... gcc -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wularations -Wde ...
分类:
其他好文 时间:
2017-05-13 14:23:46
阅读次数:
165
B. 单词替换(KMP + Lazy标记) Sample Input Sample Output Code: 1 #include <bits/stdc++.h> 2 using namespace std; 3 static const int MAXN = 5e6 + 10; 4 bool vi ...
分类:
其他好文 时间:
2017-05-12 00:02:10
阅读次数:
172
Activity常用方法 setContentView(R.layout.xxxx);//设置布局文件 getViewById(R.id.xxxx);//获取指定控件 getString(R.String.xxxx);//获取Strings XML指定key的值注意:可以用Java代码生成界面,也可 ...
分类:
其他好文 时间:
2017-05-11 17:09:40
阅读次数:
183
摘要: Redis支持的数据类型: Binary-safe strings: 字符串 Lists:有序列表;底层维护的是一个链表结构,包含字符串元素的集合,有顺序、根据插入顺序而定 Sets :无序集合;元素不可重复、无序 集合里面的元素是字符串 Sorted sets:有序集合;和Sets 不同集 ...
分类:
其他好文 时间:
2017-05-11 17:02:19
阅读次数:
126