Wildcard MatchingImplement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters...
分类:
编程语言 时间:
2015-07-19 01:18:52
阅读次数:
208
题意:给一个序列,序列中只有1个是单个的,其他都是成对出现的。也就是序列中有奇数个元素。要求找出这个元素。思路:成对出现用异或最好了。两个同样的数一异或就变零,剩下的,就是那个落单的。 1 class Solution { 2 public: 3 int singleNumber(vecto...
分类:
其他好文 时间:
2015-07-19 00:03:31
阅读次数:
167
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-07-18 21:14:50
阅读次数:
134
Single Threaded Execution Pattern【独木桥模式】一:single threaded execution pattern的参与者--->SharedResource(共享资源)二:single threaded execution pattern模式什么时候使用--->...
分类:
编程语言 时间:
2015-07-18 09:32:03
阅读次数:
130
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The...
分类:
其他好文 时间:
2015-07-18 08:22:25
阅读次数:
132
前言
Bob大叔提出并发扬了S.O.L.I.D五大原则,用来更好地进行面向对象编程,五大原则分别是:
The Single Responsibility Principle(单一职责SRP)The Open/Closed Principle(开闭原则OCP)The Liskov Substitution Principle(里氏替换原则LSP)The Interface Segrega...
分类:
编程语言 时间:
2015-07-17 14:05:31
阅读次数:
148
本人安装的是sublime text3
1.安装
这个过程下一步下一步就行
2.激活
在help菜单中选择输入验证码,如下整个都是:
----- BEGIN LICENSE -----
Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396...
分类:
其他好文 时间:
2015-07-17 12:03:54
阅读次数:
92
昨天系统出现了一个比较奇怪的BUG,表单提交后,数据没有全部执行。查看tomcat日志发现有以下警告:18:52:23,058WARNHttpMethodBase:682-Goingtobufferresponsebodyoflargeorunknownsize.UsinggetResponseBodyAsStreaminsteadisrecommended.18:52:31,290WARNHttpMethodBase:682..
分类:
其他好文 时间:
2015-07-16 22:36:38
阅读次数:
199
1.Single-Row FunctionsNVLNVL2NULLIFCOALESCECASEDECODE2.Character functionsLOWER(column|expression) --小写UPPER(column|expression) --大写INITCAP(column|exp...
分类:
数据库 时间:
2015-07-16 19:05:48
阅读次数:
144
1、线程限制Single Unix定义了一线线程操作的限制,和其他的限制一样,可以通过sysconf来查询。和其它的限制使用目的一样,这些限制的使用是为了应用程序的在不同操作系统实现之间的可移植性。 一些限制: 2、线程属性在调用pthread_create函数创建一个新线程时候可以指定线程的属性,...
分类:
编程语言 时间:
2015-07-16 16:21:51
阅读次数:
151