码迷,mamicode.com
首页 >  
搜索关键字:steps    ( 1037个结果
Rotating an array in place
April 13, 2010inUncategorizedRotate a one-dimensional array of n elements to the right by k steps.For instance, with n=7 and k=3, the array {a, b, c, ...
分类:其他好文   时间:2014-10-09 13:48:13    阅读次数:129
Climbing Stairs
[leetccode]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-10-08 11:29:55    阅读次数:193
Leetcode: Edit Distance
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 t...
分类:其他好文   时间:2014-10-08 07:40:24    阅读次数:228
POJ 2486 Apple Tree ( 树型DP )
#include #include #include using namespace std; #define SIZE 230 #define BACK 1 #define AWAY 0 int DP[SIZE][SIZE][2]; bool visits[SIZE]; int vals[SIZE]; deque tree[SIZE]; int num, steps; void ...
分类:移动开发   时间:2014-10-05 15:08:08    阅读次数:176
Quick-sort
brief : the quick sort can divide into two steps, the first step is partition, the second step is conquer the subset.i) as the first step, array A[lef...
分类:其他好文   时间:2014-10-01 01:21:50    阅读次数:209
opencv linux
This link which you also mentioned describes the necessary steps to compile OpenCV on your machine. The version of OpenCV you install this way will be...
分类:系统相关   时间:2014-09-30 18:13:59    阅读次数:298
Oracle RAC 10.2.0.5 Install For redhat 5.8(use raw device)
因为客户数据库需要打补丁,所以安装相似测试环境。需要先安装10.2.0.1 然后再升级到10.2.0.5。因为我有很多篇关于安装的文章,所以这篇只说关键步骤,以及遇见的bug安装错误 注意:我已经在redhat 6.3测试过,不能完成安装,主要是在跑root.sh脚本的时候无法通过。换成redhat 5.8不会出现这种问题。 Steps: 1、防火墙and selinux 2、kernel...
分类:数据库   时间:2014-09-30 14:58:19    阅读次数:257
[r]Setting up Django and your web server with uWSGI and nginx
This tutorial is aimed at the Django user who wants to set up a production web server. It takes you through the steps required to set up Django so tha...
分类:Web程序   时间:2014-09-29 15:43:31    阅读次数:241
Leetcode_num13_Climbing Stairs
题目: 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? 很简单的思路,因为一次可以走1~2步,所以...
分类:其他好文   时间:2014-09-29 00:34:46    阅读次数:272
configure PUTTY to not time out
To modify an existing session with "keep alives" to maintain your connection follow the steps below:Open the PuTTy application and navigate to theOpti...
分类:其他好文   时间:2014-09-27 07:13:49    阅读次数:202
1037条   上一页 1 ... 92 93 94 95 96 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!