Description
Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by water for awhile and takes quite a long time to r...
分类:
其他好文 时间:
2014-08-14 10:59:18
阅读次数:
265
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o...
分类:
其他好文 时间:
2014-08-14 00:56:47
阅读次数:
199
引用自:http://cai555.javaeye.com/blog/466033方法1: with temp as ( select row_number() over(order by cityID) as rownum,cityName from city ) select * from te...
分类:
数据库 时间:
2014-08-13 18:34:16
阅读次数:
243
在微软IP网络中,客户计算机查找其他计算机并与之进行通信的主要手段是利用域名(DNS)。但是,使用先前版本的Windows户机也使用NetBIOS协议,将名称解析为IP地址。通过三种方法解析NetBIOS名称为IP地址:在LMHOSTS文件中查找本地网段广播通过WINS服务器解析 Window...
分类:
移动开发 时间:
2014-08-13 18:33:57
阅读次数:
210
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of the nodes in each of...
分类:
其他好文 时间:
2014-08-13 15:02:26
阅读次数:
208
Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ...
分类:
其他好文 时间:
2014-08-13 12:45:46
阅读次数:
166
Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s.For example,...
分类:
其他好文 时间:
2014-08-13 12:23:16
阅读次数:
237
iOS6之前 Required background modes
1.App plays audio
2.App registers for location updates
3.App provides Voice over IP services...
分类:
移动开发 时间:
2014-08-13 01:19:04
阅读次数:
299
# CGI HTTP server
## Getting Started
Python 2.x is preferred to this simple demo. I'm using Python 2.7 over windows.
* https://docs.python.org/2.7/library/cgihttpserver.html
* https://do...
分类:
编程语言 时间:
2014-08-13 01:09:54
阅读次数:
222
这里简单的介绍下快速排序的伪代码实现和示意图:QuickSort(A,p,r)if p<r q=Partition(A,p,r) QuickSort(A,p,q-1) QucikSort(A,q+1,r)算法的关键部位为Partition函数的实现,它实现了对数组A(p,r)的原址...
分类:
其他好文 时间:
2014-08-13 00:42:04
阅读次数:
217