题目链接 Given an unsorted integer array, find the 
first missing positive integer. For example, Given [1,2,0] return 3, and 
[3,4,-1,1] return 2. Your algo...
                            
                            
                                分类:
其他好文   时间:
2014-06-29 07:44:48   
                                阅读次数:
321
                             
                    
                        
                            
                            
                                【题目】
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.
For example:
Given the below binary tree and sum = 22,
              5
             /             4   8
           /   /           11  13  4
 ...
                            
                            
                                分类:
其他好文   时间:
2014-06-20 10:53:08   
                                阅读次数:
181
                             
                    
                        
                            
                            
                                最近项目需要用到上传下载,以前学jsp的时候直接用的是smartUpload,现在学的框架但是老师只是简单地教了框架的内容
对struts文件上传和下载没有涉及,没办法只能自己自学了!结果出现了上面的问题。
这个问题的根本原因网上都有说出来,但是没有给出的解决方案。原因是要返回的流为空,文件的路径有误导致文件的输入流为空!
所以最好在逻辑处理那块输出的你要下载文件的路径看是不是你要下载的路径...
                            
                            
                                分类:
编程语言   时间:
2014-06-07 13:15:51   
                                阅读次数:
289
                             
                    
                        
                            
                            
                                原题地址:https://oj.leetcode.com/problems/valid-sudoku/题意:Determine 
if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board 
could b...
                            
                            
                                分类:
编程语言   时间:
2014-06-07 11:26:18   
                                阅读次数:
296
                             
                    
                        
                            
                            
                                WebDriver IntroductionA different way of 
automating the browser.. Create a browser-specific driver to control the browser 
directly and have to do this...
                            
                            
                                分类:
其他好文   时间:
2014-06-07 07:14:40   
                                阅读次数:
290
                             
                    
                        
                            
                            
                                题目链接 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? ...
                            
                            
                                分类:
其他好文   时间:
2014-06-05 16:56:29   
                                阅读次数:
228
                             
                    
                        
                            
                            
                                6–1.字符串.string 
模块中是否有一种字符串方法或者函数可以帮我鉴定一下一个字符串是否是另一个大字符串的一部分?答:有,string.find(str,beg,end)6–2.字符串标识符.修改例 
6-1 的 idcheck.py 脚本,使之可以检测长度为一的标识符,并且可以识别 Pytho...
                            
                            
                                分类:
编程语言   时间:
2014-06-05 15:25:41   
                                阅读次数:
338
                             
                    
                        
                            
                            
                                Given an array of integers, find two numbers 
such that they add up to a specific target number.The function twoSum should 
return indices of the two nu...
                            
                            
                                分类:
其他好文   时间:
2014-06-05 14:15:07   
                                阅读次数:
221
                             
                    
                        
                            
                            
                                Given a binary tree, find its maximum depth.The 
maximum depth is the number of nodes along the longest path from the root node 
down to the farthest le...
                            
                            
                                分类:
其他好文   时间:
2014-06-05 14:10:38   
                                阅读次数:
304
                             
                    
                        
                            
                            
                                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 stil...
                            
                            
                                分类:
其他好文   时间:
2014-06-05 13:26:37   
                                阅读次数:
335