You are given annxn2D matrix representing an 
image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this 
in-place?classSolution{publi...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 20:25:09   
                                阅读次数:
227
                             
                    
                        
                            
                            
                                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 ...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 20:21:51   
                                阅读次数:
246
                             
                    
                        
                            
                            
                                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 rep...
                            
                            
                                分类:
其他好文   时间:
2014-05-30 16:32:52   
                                阅读次数:
226
                             
                    
                        
                            
                            
                                错误提示:E: Could not get lock /var/lib/dpkg/lock - 
open (11: Resource temporarily unavailable) E: Unable to lock the administration 
directory (/var/lib/d...
                            
                            
                                分类:
其他好文   时间:
2014-05-30 03:01:41   
                                阅读次数:
234
                             
                    
                        
                            
                            
                                之前都是命令行创建,今天用eclipse装m2eclipse的时候装完后创建项目的时候报错:Could 
not resolve archetype 
org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of t...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 23:15:49   
                                阅读次数:
244
                             
                    
                        
                            
                            
                                Rotate ImageYou 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?最简...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 23:02:38   
                                阅读次数:
254
                             
                    
                        
                            
                            
                                參照 
http://blog.csdn.net/dengroj2009/article/details/4636456 
中方案二,問題解決。不過,感覺博主記錄問題方式很規範,記錄下。記錄整個筆記的流程:事件/錯誤/解決方案/步驟/原因總結
                            
                            
                                分类:
系统相关   时间:
2014-05-29 22:20:13   
                                阅读次数:
436
                             
                    
                        
                            
                            
                                昨天在Eclipse中导入一个Android工程后点击运行时出现了Could not find 
XXX.apk!的错误信息,具体错误提示如下:到网上搜了好多方法,挨个尝试,最后都没解决但是,重启Eclipse居然好了, 
观察发现在bin目录下没有apk文件,可能是因为工程没有完全编译通过无法生成ap...
                            
                            
                                分类:
移动开发   时间:
2014-05-28 11:06:23   
                                阅读次数:
4467
                             
                    
                        
                            
                            
                                回文数是指这样的数字:正读和倒读都是一样的。如:595,2332都是回文数,234不是回文数。注意:负数不是回文数Determine whether an 
integer is a palindrome. Do this without extra space.Some hints:Could ne...
                            
                            
                                分类:
其他好文   时间:
2014-05-27 23:44:17   
                                阅读次数:
459
                             
                    
                        
                            
                            
                                You could use:Calendar c 
=Calendar.getInstance();int seconds = c.get(Calendar.SECOND);There are plenty of 
constants in Calendar for everything you nee...
                            
                            
                                分类:
移动开发   时间:
2014-05-27 17:13:56   
                                阅读次数:
512