Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover t...
分类:
其他好文 时间:
2015-03-06 11:21:20
阅读次数:
168
Magic number/stringIf statement, you should always use single line or bracketsProvide default value of EnumDifference between abstract class and inter...
分类:
其他好文 时间:
2015-03-06 09:57:24
阅读次数:
178
Java开发人员应该对java.lang.Runnable,java.util.Comparator,java.util.concurrent.Callable 等等接口不会感到陌生。他们都只有一个单一的抽象方法。这样的接口,我们通常叫单一抽象方法接口(SAM,Single Abstract Method Interface)。在Java 8 中,对于这种拥有单一抽象方法的接口,换了个名字,叫函数接口。所以,这个不是什么新东西,这个名字也是为了Lambada表达式而生。...
分类:
编程语言 时间:
2015-03-05 23:43:46
阅读次数:
295
Alexander?Single?User?License?EA7E-814345?51F47F09?4EAB1285?7827EFF0?8B1207DC?A76A6EA3?E1A1CA7A?DC1F2703?14,897,784?8EDC1C82?3F2A58B9?1C0C8B24?67686432?281245B3?6233DE5C?ADC5C2F...
分类:
其他好文 时间:
2015-03-05 19:41:16
阅读次数:
117
Single Number II问题: Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have ....
分类:
其他好文 时间:
2015-03-05 18:48:51
阅读次数:
109
jQuery('#user-grid').datagrid({url:basePath+'user-manager-list.html',width:870,height:338,fitColumns:true,pagination:true,rowIndex:'login_name',single...
分类:
其他好文 时间:
2015-03-05 18:39:35
阅读次数:
3817
通过AngularJS来创建SPA(single page application),要想让页面导航看起来跟一般Web页面一样的话,路由相当重要。AngularUI Router是AngularUI 团队开发的一个AngularJS路由模块,相比AngularJS的标准路由ngRoute,它更灵活,...
分类:
其他好文 时间:
2015-03-05 14:13:42
阅读次数:
204
520E - Pluses everywhere/521C
- Pluses everywhere
Idea: Endagorion
Preparation: gchebanov, DPR-pavlin
Consider some way of placing all the pluses, and a single digit di (digits
in the str...
分类:
其他好文 时间:
2015-03-05 00:18:32
阅读次数:
318
uva 757 Gone Fishing
John is going on a fishing trip. He has h hours available ( ), and there are
n lakes in the area ( ) all reachable along a single, one-way road. John starts at lake 1, ...
分类:
其他好文 时间:
2015-03-04 22:49:22
阅读次数:
215
设计模式之设计原则
1、单一职责原则(Single Responsibility Principle:SRP)
2、里氏替换原则(Liskov Substitution Principle:LSP)
3、依赖倒置原则(Dependence Inversion
Principle:DIP)
4、接口隔离原则(Interface Segregation
Pr...
分类:
其他好文 时间:
2015-03-04 22:47:32
阅读次数:
174