'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:
其他好文 时间:
2014-11-15 06:35:33
阅读次数:
152
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-11-14 22:21:16
阅读次数:
194
LDAP Authentication addon permits users to have the same credentials as in LDAP, so effectively centralizing authenticationlet any correctly authentic...
分类:
其他好文 时间:
2014-11-14 00:11:05
阅读次数:
423
http://coding.abel.nu/2013/11/enums-and-lookup-tables-with-ef-code-first/With EntityFramework’s support for enums, there is no longer any need to incl...
分类:
编程语言 时间:
2014-11-13 16:18:38
阅读次数:
228
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,
1
/ 2 3
Return 6....
分类:
其他好文 时间:
2014-11-12 13:47:59
阅读次数:
139
Turn any Linux computer into SOCKS5 proxy in one command
分类:
系统相关 时间:
2014-11-12 13:33:02
阅读次数:
627
目前在学习Socket,因为和IO关系紧密,于是顺便也学了下IO
发现有这样一句话:
The flush method is valid on any output stream,but has no effect unless the stream is buffered
这句话意思是所有的输出流都有flush方法,但是仅对缓冲流有效
看到这里,笔者想到了自己写的serversocket...
分类:
编程语言 时间:
2014-11-12 11:53:08
阅读次数:
278
发现个USB ID网站,对于做设备管理识别的小伙伴特别有用
http://www.linux-usb.org/usb.ids
附录:
#
# List of USB ID's
#
# Maintained by Stephen J. Gowdy
# If you have any new entries, please submit them via
# http://www.linux-usb.org/usb-ids.html
# or send e...
分类:
其他好文 时间:
2014-11-12 09:22:46
阅读次数:
2109
You are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the binary tree to any leaf. The value of a path is the sum o...
分类:
其他好文 时间:
2014-11-11 22:57:13
阅读次数:
280
图片的存储格式之一是PNM——实际上是PBM、PGM、PPM三种格式的统称。这三种格式的语法很接近,分别对就黑白图片、灰度图片和彩色图片。 PNM是"Portable Any Map"的缩写。 PNM文件可以用程序xview或kview打开。 PPM格式的图片 ppm格式可以是二进制的,也可以是纯文...
分类:
其他好文 时间:
2014-11-11 22:46:39
阅读次数:
639