码迷,mamicode.com
首页 >  
搜索关键字:steps    ( 1037个结果
Edit Distance -- leetcode
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:...
分类:其他好文   时间:2015-04-10 17:57:11    阅读次数:171
leetcode || 72、Edit Distance
problem: 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 operation...
分类:其他好文   时间:2015-04-09 10:36:31    阅读次数:140
Climbing Stairs -- leetcode
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? 此题用动太规划解决。 递归式为:dp[n] = dp[...
分类:其他好文   时间:2015-04-09 08:49:52    阅读次数:104
SICP:2,4 序对的过程性表示方法
Here are the fully expand steps:0) at the beginning , we get expression ``(car (cons 1 2))``1) replace ``cons`` using ``(lambda (m) (m x y))`` , we ge...
分类:其他好文   时间:2015-04-09 00:49:11    阅读次数:113
[LeetCode] Rotate Array
Rotate Array Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. Note: Try to come up as ma...
分类:其他好文   时间:2015-04-08 16:32:21    阅读次数:97
leetcode || 70、 Climbing Stairs
problem: 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? Hide Tag...
分类:其他好文   时间:2015-04-08 13:18:01    阅读次数:117
为EXSi5.5上的Centos虚机增加硬盘容量
宿主机调整1. 关闭虚机,2. 检查是否有存在的snapshot, 如果有, 需要删除, 否则不能调整磁盘容量3. 虚机上编辑配置, 将磁盘容量调大后保存虚机调整参考这篇写得非常详细: 点击查看To extend the logical volume:Note: These steps only a...
分类:其他好文   时间:2015-04-08 06:35:38    阅读次数:267
Scalatra
SBT和giter8在你开始着手之前,你需要安装两个工具(我假设你已经安装了JDK1.6+)。我将给你提供简缩的安装指令,详细版的安装指令可通过 下面的scalatra页面找到( http://www.scalatra.org/getting-started/first-steps.html)。这种...
分类:其他好文   时间:2015-04-07 19:00:31    阅读次数:123
漫谈程序员系列:神奇的四步编程法
How to program in four easy steps……...
分类:其他好文   时间:2015-04-07 08:28:55    阅读次数:165
13年山东省赛 The number of steps(概率dp水题)
转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudThe number of stepsTime Limit:1 SecMemory Limit:128 MDescriptionMary stands in a strange maze, the maz...
分类:其他好文   时间:2015-04-07 00:39:29    阅读次数:183
1037条   上一页 1 ... 73 74 75 76 77 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!