The init method is a special method that gets invoked when an object is instantiated. Its full name is __init__ (two underscore characters, followed b...
分类:
其他好文 时间:
2014-10-02 18:06:23
阅读次数:
142
Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters (including the e...
分类:
其他好文 时间:
2014-10-02 16:44:03
阅读次数:
157
[leetcode]Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid....
分类:
其他好文 时间:
2014-10-02 12:40:02
阅读次数:
130
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:
其他好文 时间:
2014-10-01 13:35:41
阅读次数:
233
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-10-01 09:59:00
阅读次数:
245
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:
编程语言 时间:
2014-10-01 02:49:20
阅读次数:
232
https://oj.leetcode.com/problems/valid-parentheses/Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the inp...
分类:
编程语言 时间:
2014-10-01 01:40:20
阅读次数:
256
http://happilyblogging.wordpress.com/2012/10/04/not-a-valid-glassfish-server-installation-netbeans/ Essentially, you must stop the gf3 server and rename the console-core-X.X.X.jar located in \glass...
分类:
Web程序 时间:
2014-09-30 13:12:49
阅读次数:
187
一说起通配符,大家很快就会想起*和?号,有了通配符,使得表达能力大大增强,很多linux命令都支持这个东西,其实就是glob style pattern.
就连redis的keys命令都支持glob.
我要实现的glob,支持以下特性:
星号*匹配0个或多个任意字符?匹配确切的一个任意字符[characters]匹配任意一个方括号内的字符,比如[abc],要么匹配a,要么匹配b,要么...
分类:
编程语言 时间:
2014-09-29 12:48:50
阅读次数:
229
convolutionFirst, we want to compute σ(Wx(r,c) + b) for all valid (r,c) (valid meaning that the entire 8x8 patch is contained within the image; this i...
分类:
其他好文 时间:
2014-09-28 17:47:33
阅读次数:
153