码迷,mamicode.com
首页 >  
搜索关键字:target    ( 24275个结果
第一篇博文,leetcode3道题
LeetCode做题笔记Addtwonumbers:给定一个数集合和一个数,已知集合中有两个数的和是给定数,求这两个加数的index方法1:暴力,n^2时间复杂度,不推荐方法2:快速排序nlogn。按集合里数的两倍与target的大小关系对分。对每一个第一部分的数,在另外一个部分二分搜索第二个数:5..
分类:其他好文   时间:2014-12-31 11:29:39    阅读次数:138
【VMCloud云平台】SCO(八)SCO结合SCOM
上一篇我们介绍了什么是集成包,并且将集成包进行导入,今天我们将介绍如何利用已经导入的IP包(集成包)进行部署,并实现SCO与SCOM集合(下图红色为部署中,紫色为实施完成,蓝色为计划中):1、我们打开SCO01上的DesignerServer,新建一个Runbook并命名为SCOM:2、接着我们右..
分类:其他好文   时间:2014-12-31 06:25:53    阅读次数:136
[leecode summary] Binary seacrh
二分法的题,题目一般是在一个有序或者有序打乱的array里找一个target,或者在array里找一个数。这种题型的解题方式可以提炼出来一个套路,如下: int low = 0 ; int high = num.length-1 ; int mid = 0 ; ...
分类:其他好文   时间:2014-12-31 06:16:26    阅读次数:214
iOS定时器
NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:100 target:self selector:@selector(timerFireMethod:) userInfo:nil repeats:YES];
分类:移动开发   时间:2014-12-30 16:42:32    阅读次数:239
解压system.img重新打包system.img
file system.img./out/host/linux-x86/bin/simg2img out/target/product/msm8610/system.img system.raw.imgmkdir system_newsudo mount -t ext4 -o loop system...
分类:其他好文   时间:2014-12-30 15:02:47    阅读次数:167
[LeetCode#2]Add Two Numbers
The question:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices ...
分类:其他好文   时间:2014-12-30 07:01:44    阅读次数:170
[LeetCode#1] Two Sum
The Problem:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices o...
分类:其他好文   时间:2014-12-30 07:00:19    阅读次数:201
【VMCloud云平台】SCO(七)如何使用集成包
上一篇我们介绍了什么是集成包,本篇我们将介绍如果将导入的集成包进行部署并设置,最终交付使用(下图红色为部署中,紫色为实施完成,蓝色为计划中):1、我们打开SCO01上的DeploymentServer,找到左侧集成包,右键选择第二项:2、接着我们在欢迎界面上点击下一步:3、选择上..
分类:其他好文   时间:2014-12-30 01:47:31    阅读次数:174
cocos3——2.js启动 js_boot.js
【js语法相关】 遍历对象或数组obj,执行函数context.iterator,函数返回false表示break cc.each(obj, iterator, context) 从源对象拷贝所有属性到目标对象,并返回目标对象 cc.extend(target, src0, src1..) cc.isFunction(obj) cc.isNumber(obj) cc.isString(obj)...
分类:Web程序   时间:2014-12-29 23:04:01    阅读次数:225
【leetcode】Combination Sum
Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thes...
分类:其他好文   时间:2014-12-29 22:56:46    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!