码迷,mamicode.com
首页 >  
搜索关键字:fast    ( 2787个结果
JQuery学习总结
jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combinat...
分类:Web程序   时间:2015-02-08 21:54:06    阅读次数:201
微软职位内部推荐-Software Engineer II
微软近期Open的职位:Job Title: Software Engineer IILocation: Suzhou, ChinaWant to work on a fast-cycle, high visibility, hardcore search team with ambitious g...
分类:其他好文   时间:2015-02-08 15:15:35    阅读次数:127
【算法】最长公共子序列(nlogn)
转载注明出处:http://blog.csdn.net/wdq347/article/details/9001005最长公共子序列(LCS)最常见的算法是时间复杂度为O(n^2)的动态规划(DP)算法,但在James W. Hunt和Thomas G. Szymansky 的论文"A Fast Al...
分类:编程语言   时间:2015-02-08 14:07:47    阅读次数:133
hdu1054 树形dp
http://acm.hdu.edu.cn/showproblem.php?pid=1054 Problem Description Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then...
分类:其他好文   时间:2015-02-07 20:23:14    阅读次数:129
Fast TileMap
概述 在游戏中常常会有丰富的背景元素,如果直接使用大的背景图实现,这会造成资源浪费。TileMap就是为了解决这问题而产生的。Cocos2d-x支持使用Tile地图编辑器创建的TMX格式的地图。 Cocos2d-x为我们提供了TMXTileMap和TMXLayer两个类来处理瓦片地图。通过使用TMXTileMap和TMXLayer,我们可以很方便的加载TMX格式的地图文件,获取地图上的...
分类:其他好文   时间:2015-02-07 16:01:16    阅读次数:142
Lintcode: Fast Power
Calculate the an % b where a, b and n are all 32bit integers.ExampleFor 231 % 3 = 2For 1001000 % 1000 = 0ChallengeO(logn)数学问题,要求O(log n)的时间复杂度,也就是每次去掉...
分类:其他好文   时间:2015-02-06 13:12:25    阅读次数:170
C# 敏感词过滤
public class BadWordFilter { #region 变量 private HashSet hash = new HashSet(); private byte[] fastCheck = new byte[char.MaxValue]; private byte[] fast....
分类:Windows程序   时间:2015-02-06 11:09:03    阅读次数:721
【SICP练习】10 练习1.16
?? 练习1.16 这道题题目特别长,说的无非就是要用一个不变量记录中间结果,然后写出对数步数内的通过迭代来计算幂的函数,当然了还要用到题目中括号内的那个关系。下面就直接上代码了: (define(fast-expt b n)        (fast-expt-iter 1 b n)) (define(fast-expt-iter a b n)       ...
分类:其他好文   时间:2015-02-05 20:34:01    阅读次数:179
【SICP练习】11 练习1.17
?? 练习1.17 这道题中有2个需要我们自己先写出来的函数double和halve,当然了,这都非常容易实现: (define(double x)        (+ x x)) (define(halve x)        (/ x 2)) 题目中要求我们设计一个类似于fast-expt的求乘积的过程,并且只用对数的步数。 (define(...
分类:其他好文   时间:2015-02-05 20:32:57    阅读次数:96
[LeetCode]142.Linked List Cycle II
题目: Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space?分析:首先使用快慢指针技巧,如果fast指针和slow指针相遇,则说明链表存在环路。当f...
分类:其他好文   时间:2015-02-05 20:29:16    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!