出处:http://aaron81939097.iteye.com/blog/1144642原配置:Java代码 com.mysql.jdbc.Driverjdbc:mysql://localhost:3306/activiti?autoReconnect=truesa202220 配置数据都无问....
分类:
其他好文 时间:
2015-05-18 18:18:24
阅读次数:
498
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with...
分类:
其他好文 时间:
2015-05-18 16:00:43
阅读次数:
102
题目:Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which ...
分类:
其他好文 时间:
2015-05-18 12:45:37
阅读次数:
100
今天在浏览ASP.NET项目时,提示如下错误:Could not load file or assembly ‘MySql.Web.v20, Version=6.9.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d‘ or one of it...
分类:
数据库 时间:
2015-05-18 00:55:26
阅读次数:
481
360更新补丁后,网站就打不开aspx文件了,后来一查是framework2.0的KB2844285这个补丁引起的。把它卸载掉就ok了!
分类:
移动开发 时间:
2015-05-17 23:16:10
阅读次数:
336
输入 passenger-install-nginx-module后,提示Unable to autodetect the currently active RVM gem set name. This could happen if you ran this program using 'sudo' instead of 'rvmsudo'. When using RVM, you're alw...
分类:
系统相关 时间:
2015-05-17 20:18:24
阅读次数:
254
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?
基本思路:
内层循环,使用...
分类:
其他好文 时间:
2015-05-17 16:51:36
阅读次数:
111
自己今天也遇到这个问题,就百度了下出现这个问题的原因可能是有另外一个程序正在运行,导致资源被锁不可用。而导致资源被锁的原因,可能是上次安装时没正常完成,而导致出现此状况。解决方法:输入以下命令sudo rm /var/cache/apt/archives/locksudo rm /var/lib/d...
分类:
其他好文 时间:
2015-05-17 13:42:03
阅读次数:
113
题目:Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution s...
分类:
其他好文 时间:
2015-05-15 13:21:07
阅读次数:
113
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/45739753
Reverse a singly linked list.
click to show more hints.
Hint:
A linked list can be reversed either iteratively or recursively. Could you implement both?
思...
分类:
其他好文 时间:
2015-05-15 09:07:25
阅读次数:
122