码迷,mamicode.com
首页 >  
搜索关键字:one day    ( 33377个结果
LeetCode: Single Number Ⅱ
Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime ...
分类:其他好文   时间:2014-05-27 00:10:26    阅读次数:319
Not Too Impressed With The Runway Bags This Year
I B? These laptop bags pupils a strong, durable and resistant to exposure from day to day, for students to go to bags, such as laptop computers remain...
分类:其他好文   时间:2014-05-26 23:49:39    阅读次数:533
LeetCode: Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime comple...
分类:其他好文   时间:2014-05-23 07:22:48    阅读次数:241
ios成长之每日一遍(day 4)
今天, 主要讲四种常见的问题, 废话不多说了, 直接开始。自动布局:这个我发现有一篇文章写得非常好, 直接表明出地http://www.cocoachina.com/applenews/devnews/2013/1203/7462.html part onehttp://www.raywen...
分类:移动开发   时间:2014-05-23 07:13:33    阅读次数:215
leetcode Remove Nth Node From End of List
题目说:Try to do this in one pass 只用一遍遍历的话,p1先走n节点,p2再走,等到p1到达链表尾的时候p2正好在倒数第n+1个上面鸟 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode...
分类:其他好文   时间:2014-05-23 01:52:29    阅读次数:331
js计算两个时间相差的天数
day1='2014-03-31 00:00:01';function get_day(day1,day2){ var s = day1; var dt = Date.parse(s.replace(/-/g,"/")); var day1 = new Date(dt); var s = day2; var dt = Date.parse(s.replace(/-/...
分类:Web程序   时间:2014-05-22 17:29:10    阅读次数:332
Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-05-22 16:31:03    阅读次数:194
nl2br()函数
nl2br() 函数在字符串中的每个新行 (\n) 之前插入 HTML 换行符 ()。例子输出:One line.Another line.
分类:其他好文   时间:2014-05-22 15:30:53    阅读次数:169
LeetCode: Count and Say [037]
【题目】 The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11. 11 is read off as "two 1s" or 21. 21 is read off as "one 2, then one 1" or 1211. Given an integer n, generate...
分类:其他好文   时间:2014-05-21 15:20:07    阅读次数:213
python实现代码行的统计
最近闲来无事写了一个统计C或者C++代码行数的程序,主要用到了python以及正则表达式 #-*-coding:utf-8 #!/usr/bin/python import re import os import sys '''get the file or dir in one path''' def getfilename(path): if os.path.exi...
分类:编程语言   时间:2014-05-21 15:06:30    阅读次数:379
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!