一:Rotate Image
题目:
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
链接:https://leetcode.com/prob...
分类:
其他好文 时间:
2015-04-08 19:54:55
阅读次数:
141
创建AVD之后,在启动时报如下错误,解决方法如下: 1.在环境变量中创建ANDROID_SDK_HOME=E:\android\android-sdks(你的SDK目录)。 2.在path中添加: %ANDROID_SDK_HOME%/tools;%ANDROID_SDK_HOME%platform-tool...
分类:
移动开发 时间:
2015-04-08 16:54:33
阅读次数:
142
Mayor's posters
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 46857
Accepted: 13601
Description
The citizens of Bytetown, AB, could not stand that the ca...
分类:
其他好文 时间:
2015-04-08 13:17:40
阅读次数:
135
一道DFS的题目,题意如下:
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 1...
分类:
其他好文 时间:
2015-04-08 09:12:29
阅读次数:
107
题目:
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
思路:使用最基本的方法,递归,但是有空间复杂度
#include
#inc...
分类:
其他好文 时间:
2015-04-07 19:43:35
阅读次数:
102
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-04-07 10:07:07
阅读次数:
94
软件编写调试好之后最重要的就是打包和发布,这样软件才好传播。
qt软件的打包发布一个难点是必备dll文件的识别。不少日志说用dependencyWalker,今天我试了一下发现查找dll不完全,比如辨识不了qwindows.dll(会报错could not find or load the qt platform plugin windows)。并且还要自己手动添加不是很方便。一番查找后...
初始hibernate, 写第一个程序 helloworld的错误:Exception in thread "main" org.hibernate.InvalidMappingException: Could not parse mapping document from resource cn/...
分类:
移动开发 时间:
2015-04-07 07:02:20
阅读次数:
346
今天中午将近12点的时候突然收到短信告警提示,公司的软件长时间没有话单产生。第一反应是公司的软件挂掉了,所以立即进行了查看。重启了所有软件之后发现居然没有回复正常,一直提示:
com.gs.db.DBException: java.sql.SQLException: Io
异常: The Network Adapt
er could not establish the connection。...
分类:
数据库 时间:
2015-04-06 15:46:14
阅读次数:
147
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-04-06 15:30:40
阅读次数:
107