Given a linked list, swap every two adjacent
nodes and return its head. For example, Given 1->2->3->4, you should
return the list as 2->1->4->3. Your ...
分类:
其他好文 时间:
2014-06-29 14:39:10
阅读次数:
268
1.下载google浏览器2.运行 ->chrome.exe
--user-agent="Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91)
AppleWebKit/533.1 (KHTML, like Gecko) V...
分类:
移动开发 时间:
2014-06-29 13:54:03
阅读次数:
358
1.正则使用 比 LIKE 会牺牲很多的系统资源 尽量不要用 正则的语法和JS PHP 差不多
select * from t1 where email REGEXP "@163[,.]com$"; select * from t1 where email
like "%@163.com" o...
分类:
数据库 时间:
2014-06-07 06:05:12
阅读次数:
280
阿里电面问到了相关的知识,在网上找到这方面的文章。这几个关键字是查询递归数据的,形成一个树状结构。目前只有oracle支持,其他数据都要结合存储过程实现语法:
select * from some_table [where 条件1] connect by [条件2] start with [条件3....
分类:
数据库 时间:
2014-06-07 03:43:40
阅读次数:
241
Bonding:Ethernet Channel Bonding enables two or
more Network Interfaces Card (NIC) to a single virtual NIC card which may
increase the bandwidth and p...
分类:
Web程序 时间:
2014-06-07 03:38:59
阅读次数:
267
Global cursor:To change the cursor in a
application wide fashion, you have to access the Glass Pane and set its cursor,
and then make the glass pane v...
分类:
编程语言 时间:
2014-05-30 11:18:29
阅读次数:
284
题目: Say you have an array for which the ith element
is the price of a given stock on day i. Design an algorithm to find the maximum
profit. You may co...
分类:
其他好文 时间:
2014-05-28 22:37:18
阅读次数:
327
A dispatchsemaphore(信号量) is useful if you need
a concurrency control for a small portion(部分) of the source code that has
smaller granularity(颗粒度) than...
分类:
其他好文 时间:
2014-05-28 21:51:45
阅读次数:
395
LIKE 操作符用于在 WHERE 子句中搜索列中的指定模式。LIKE 是另一个在 WHERE
子句中会用到的指令。基本上,LIKE 能让我们依据一个套式 (pattern) 来找出我们要的资料。相对来说,在运用 IN
的时候,我们完全地知道我们需要的条件;在运用 BETWEEN 的时候,我们则是列...
分类:
数据库 时间:
2014-05-28 20:01:37
阅读次数:
388
转自Joywii的博客,原文:Four Tips for Debugging in XCode
Like a Bro1.Enable NSZombie Objects(开启僵尸对象)Enable NSZombie
Objects可能是整个Xcode开发环境中最有用的调试技巧。这个技巧非常非常容易追踪...
分类:
其他好文 时间:
2014-05-28 12:03:30
阅读次数:
233