练习1.16这道题题目特别长,说的无非就是要用一个不变量记录中间结果,然后写出对数步数内的通过迭代来计算幂的函数,当然了还要用到题目中括号内的那个关系。下面就直接上代码了:(define (fast-expt b n) (fast-expt-iter 1 b n))(define (fast-exp...
分类:
其他好文 时间:
2015-02-05 20:23:27
阅读次数:
157
1.show([speed,[easing],[fn]])\\显示隐藏的匹配元素//speed:三种预定速度之一的字符串("slow","normal", or "fast")或表示动画时长的毫秒数值(如:1000)//easing:(Optional) 用来指定切换效果,默认是"swing",可用...
分类:
Web程序 时间:
2015-02-04 16:25:26
阅读次数:
224
1.1What is Swift
“Swift is an innovative new programming language for Cocoa and Cocoa Touch. Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Sw...
分类:
移动开发 时间:
2015-02-04 13:04:04
阅读次数:
221
原题地址基本模拟代码: 1 ListNode *removeNthFromEnd(ListNode *head, int n) { 2 ListNode *fast = head; 3 ListNode *slow = head; 4 ListNode...
分类:
其他好文 时间:
2015-02-02 15:33:58
阅读次数:
142
下面是GNU grep的原作者MikeHaertel 在FreeBSD邮件列表中对 “GNU grep为什么比BSD grep要快” 这个问题所做的回答,解释了grep是如何进行快速搜索的,下面是邮件正文内容:
why GNU grep is fast
Mike Haertel mike at ducky.net
Sat Aug 21 03:00:30 UTC 2010
?...
分类:
其他好文 时间:
2015-02-01 13:34:24
阅读次数:
270
FastJSON 应用前测试FastJSON是一个很好的java开源json工具类库,相比其他同类的json类库,它的速度的确是fast,最快!但是文档做得不好,在应用前不得不亲测一些功能。实际上其他的json处理工具都和它差不多,api也有几分相似。一、JSON规范JSON是一个标准规范,用于数据...
分类:
Web程序 时间:
2015-01-29 14:03:34
阅读次数:
192
http://www.verypdf.com/pdfinfoeditor/pdf-linearization.htmlWhat exactly is PDF Linearization (fast web view)?PDF file linearization (also known as opt...
分类:
其他好文 时间:
2015-01-27 18:07:29
阅读次数:
125
通常,合并分支时,如果可能,Git会用Fast forward模式,但这种模式下,删除分支后,会丢掉分支信息。如果要强制禁用Fast forward模式,Git就会在merge时生成一个新的commit,这样,从分支历史上就可以看出分支信息。下面我们实战一下--no-ff方式的git merge:首...
分类:
其他好文 时间:
2015-01-27 12:35:51
阅读次数:
193
1.show()和hide()show()方法和hide()方法是jQuery中最基本的动画方法。参数:fast,normal,slow或者数字2.fadeIn()和fadeOut()与show()和hide()不同,这俩个方法只改变透明度3.slideUp()和slideDown()这俩个方法只改...
分类:
Web程序 时间:
2015-01-26 16:32:35
阅读次数:
262
Google Mesa的文章:https://research.google.com/pubs/pub42851.html https://gigaom.com/2014/08/07/google-shows-off-mesa-a-super-fast-data-warehouse-that-run...
分类:
其他好文 时间:
2015-01-25 22:30:59
阅读次数:
162