Could not create the view: An unexpected exception was thrown.解决办法:关闭myeclipse 原来工作空间的.metadata文件夹下出现com.genuitec.eclipse.ast.deploy.core.prefs错误提示---...
分类:
系统相关 时间:
2014-06-28 23:10:29
阅读次数:
349
1.JLINK V8 error:flash download failed - could not load file:Options for Target 'Targer 1'下的菜单下Output选项里,Name of Executable可以有数字,命令也可以一数字开头,只是名字中不能含有小...
分类:
其他好文 时间:
2014-06-28 22:56:50
阅读次数:
294
1、检查空间是否够用(我的就是这个原因) df -hl 查看,如果可用的很少,那就是了。2、datanode是否正常启动 访问:50070,查看datanode的个数,如果不对应,重新启动3、是否在safemode下 hadoop dfsadmin -safemode get,查看,leave...
分类:
其他好文 时间:
2014-06-19 00:14:41
阅读次数:
306
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?public class Soluti...
分类:
其他好文 时间:
2014-06-18 21:54:54
阅读次数:
232
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?
思路:最简单的方法就是按...
分类:
其他好文 时间:
2014-06-18 12:40:54
阅读次数:
265
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Could you devise a constant space solution?
思路:因为需要遍历整个矩阵,时间复杂度肯定需要O(m * n),对于空间复杂度而言,第一种是可以使用O(m * n),...
分类:
其他好文 时间:
2014-06-18 12:33:39
阅读次数:
167
题目
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
In...
分类:
其他好文 时间:
2014-06-18 12:03:16
阅读次数:
227
题目
Determine whether an integer is a palindrome. Do this without extra space.
Some hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of converting the integer to ...
分类:
其他好文 时间:
2014-06-17 16:12:39
阅读次数:
226
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.
F...
分类:
其他好文 时间:
2014-06-15 14:51:02
阅读次数:
167
出现这种错误是因为主机名和/etc/hosts 文件不一致,只需要把主机名和其IP 写入/etc/hosts 文件,就ok了。注意名字不能有下划线修改network 文件之外,再使用hostname 命令指定一下主机名,就不用重启OS了。 1. 修改/etc/sysconfig/network 文件[root@localhost~]# cat /etc/sysconfig/networkN...
分类:
数据库 时间:
2014-06-14 17:29:44
阅读次数:
418