DP = Recursion + Memoization, A Smart Brute-force AlgorithmDivide the original problem into similar subproblems.Hard desgin part: what are the subprob...
分类:
其他好文 时间:
2015-01-11 14:41:02
阅读次数:
235
html code: 科研动态 教学动态 科研动态-内容 教学动态-内容 css:.dynamic_show { display:block;}.dynamic_hide { display:none;}javascript:...
分类:
编程语言 时间:
2015-01-10 12:33:21
阅读次数:
199
解决方法: 1. 依次打开Settings->Data management –> Data Encryption 然后在上面红框里填上任意一个key即可。...
分类:
数据库 时间:
2015-01-09 21:02:38
阅读次数:
201
如图所示,设置PageName即可: 这样导出excel时,sheet的名就有了:...
分类:
其他好文 时间:
2015-01-09 21:00:16
阅读次数:
232
解决方法: 1. 依次打开Settings->Data management –> Data Encryption 然后在上面红框里填上任意一个key即可。
分类:
数据库 时间:
2015-01-09 20:51:15
阅读次数:
338
如图所示,设置PageName即可: 这样导出excel时,sheet的名就有了:
分类:
其他好文 时间:
2015-01-09 20:45:17
阅读次数:
195
將 Xcode 升级到最新,在使用AFNetworking时遇到了 property synthesis 相关的 error,错误信息如下:
Auto property synthesis will not synthesize property ‘request‘ because it is ‘readwrite‘ but it will be synthesized ‘readonly‘...
分类:
Web程序 时间:
2015-01-09 19:22:54
阅读次数:
217
题目:
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4...
分类:
编程语言 时间:
2015-01-09 14:23:26
阅读次数:
207
dynamic是FrameWork4.0的新特性。dynamic的出现让C#具有了弱语言类型的特性。编译器在编译的时候不再对类型进行检查,编译期默认dynamic对象支持你想要的任何特性。比如,即使你对GetDynamicObject方法返回的对象一无所知,你也可以像如下那样进行代码的调用,编译器不...
题目:
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 respectively...
分类:
编程语言 时间:
2015-01-08 15:29:48
阅读次数:
162