Edit DistanceGiven two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You...
分类:
其他好文 时间:
2014-08-02 01:29:22
阅读次数:
309
Climbing StairsYou are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct way...
分类:
其他好文 时间:
2014-08-01 04:37:21
阅读次数:
244
问题描述:
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
解题思路:
这是一个典型的斐波那契数列,对于...
分类:
其他好文 时间:
2014-07-31 00:02:55
阅读次数:
243
these are the basic steps of installing domU with xen-tools in ubuntu13.04 64bit in xen4.3you can also use virt-manager which has an UI, but there may...
分类:
其他好文 时间:
2014-07-30 20:05:14
阅读次数:
588
Baby Steps-VarsityGiant Step-Astronauts(May'n?椎名慶治)阅读时可以听听这两首歌,加深对这个算法的理解。(Baby steps少女时代翻唱过,这个原唱反而不是很有名……Giant Step就比较碉,是一个假面骑士片的插曲,由超碉的May'n和一个人建立的临...
分类:
其他好文 时间:
2014-07-30 12:01:53
阅读次数:
245
XPath 选取节点时使用的表达式是一种路径表达式。节点是通过路径(path)或者步(steps)来选取的。本章使用以下 XML 文档作为示例。 Harry Potter 29.99 Learning XML 39.95...
分类:
编程语言 时间:
2014-07-25 10:52:41
阅读次数:
301
创建动画 为了我们的动画人物怪物,我们将首先创建我们定义的宽度和高度尺寸的规则,并显示主精灵表作为背景图像。
分类:
Web程序 时间:
2014-07-22 23:10:32
阅读次数:
290
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-07-22 22:37:33
阅读次数:
191
刚进新公司,据开发人员说存在QT5.3.1下触控笔无法工作,而在QT5.2.1下能正常工作,研究了一下。 Steps: 1. 首先当然是看下问题是否真的存在。测试情况: 环境 结果 备注 QT5.2.1, win 8.1 32bit, mingw 触控笔正...
分类:
其他好文 时间:
2014-07-21 10:31:34
阅读次数:
216
1 Object.seal(O)的调用When the seal function is called, the following steps are taken: If Type(O) is not Object throw a TypeError exception. For each nam...
分类:
其他好文 时间:
2014-07-21 09:03:28
阅读次数:
248