码迷,mamicode.com
首页 >  
搜索关键字:would you like some more rice    ( 45620个结果
JavaScript Patterns 3.7 Primitive Wrappers
One reason to use the wrapper objects is when you want to augment the value and persist state. Because primitives are not objects, they cannot be augm...
分类:移动开发   时间:2014-06-03 16:20:47    阅读次数:345
emacs 配置
个人的Emacs配置,环境是archlinux,参考了不少网上资料,因为太多,就不一一列举了,在这里感谢那些作者的辛苦经验劳动。(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it b...
分类:其他好文   时间:2014-06-02 19:22:56    阅读次数:379
【LeetCode】Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock IISay you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the ...
分类:其他好文   时间:2014-06-02 15:01:53    阅读次数:305
hdu 1086 You can Solve a Geometry Problem too (几何)
You can Solve a Geometry Problem tooTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6932Accepted S...
分类:其他好文   时间:2014-06-02 12:40:04    阅读次数:325
Nginx的一些介绍
选择Nginx的一些理由=> 1.可以高并发连接:官方测试Nginx能够支撑5万并发连接,在实际生产环境中可支持2~4万并发连接数。 2.内存消耗少:同等硬件环境下,Nginx的处理能力相当于Apache的5~10倍。 3.成本低廉:Nginx为开源软件,采用的是2-clause BSD-like协议,可以免费使用,并可用于商业用途。该协议衍生自BSD协议,但删掉了其中的“不可以用开源代码的作者/机构名字和原来产品的名字做市场推广”。 4.其他:配置文件简单,支持Rewrite重写规则,内置的健康检...
分类:其他好文   时间:2014-06-02 12:23:44    阅读次数:242
LeetCode: Recover Binary Search Tree [099]
【题目】 Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty straight forward. Could you devise a constant space solution? confused what "{1,#,2,3}" ...
分类:其他好文   时间:2014-06-02 10:38:17    阅读次数:246
leetcode Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?求链表是否有环的问题,要考虑链表为空的情况,定义一个快指针和一个慢指针,如果快指针和...
分类:其他好文   时间:2014-06-02 08:05:16    阅读次数:255
More on Class Loading and Initialization
Initialization comes after Class loading.
分类:其他好文   时间:2014-06-02 07:58:13    阅读次数:156
Leetcode Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?借用博...
分类:其他好文   时间:2014-06-02 07:32:33    阅读次数:291
Codeforces Round #250 (Div. 2)
感觉不会再爱了,呜呜!A题原来HACK这么多!很多人跟我一样掉坑了!If there is some choice whose description at least twice shorter than all other descriptions, or at least twice long...
分类:其他好文   时间:2014-06-02 06:33:26    阅读次数:238
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!