参考文章:使用Log4jdbc-log4j2监听MyBatis中运行的SQL和Connection使用 log4jdbc格式化输出SQL,maven配置如下:org.bgee.log4jdbc-log4j2log4jdbc-log4j2-jdbc41.16datasouce.xml配置如下: ...
分类:
数据库 时间:
2015-01-15 19:44:22
阅读次数:
836
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2015-01-15 18:08:11
阅读次数:
108
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using ext...
分类:
其他好文 时间:
2015-01-15 11:05:40
阅读次数:
207
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without usi...
分类:
其他好文 时间:
2015-01-15 11:03:15
阅读次数:
157
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent
a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find the tota...
分类:
其他好文 时间:
2015-01-15 09:26:49
阅读次数:
117
Sometimes you might need to modify HTTP requests and responses. This could be for a variety of reasons such as adding global logic handling for HTTP e...
分类:
Web程序 时间:
2015-01-15 07:04:20
阅读次数:
166
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using ext...
分类:
其他好文 时间:
2015-01-14 23:01:20
阅读次数:
402
题目:
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent
a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find...
分类:
编程语言 时间:
2015-01-14 22:59:16
阅读次数:
431
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
class Solution...
分类:
其他好文 时间:
2015-01-14 22:57:33
阅读次数:
162