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...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 23:55:36   
                                阅读次数:
407
                             
                    
                        
                            
                            
                                Implement next permutation, which rearranges 
numbers into the lexicographically next greater permutation of numbers.If such 
arrangement is not possibl...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:19:17   
                                阅读次数:
312
                             
                    
                        
                            
                            
                                Problem E: WeddingUp to thirty couples will 
attend a wedding feast, at which they will be seated on either side of a long 
table. The bride and groom s...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:10:59   
                                阅读次数:
373
                             
                    
                        
                            
                            
                                题目如下:
``Accordian'' Patience 
You are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:
    Deal cards one by one in a row from left to right, no...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 09:08:31   
                                阅读次数:
329
                             
                    
                        
                            
                            
                                1 keytool命令总结
一、创建数字证书
交互模式
使用默认的密钥库.keystore(目录是c: Documents and Setting用户名)和算法(DSA)
keytool -genkey
默认的别名mykey
密钥库中可以存放多个条目(公钥/私钥对和证书),它们在密钥库中以别名(alias)区分。
[plain] view
...
                            
                            
                                分类:
编程语言   时间:
2014-05-04 00:32:09   
                                阅读次数:
1113
                             
                    
                        
                            
                            
                                Say you have an array for which theithelement 
is the price of a given stock on dayi.Design an algorithm to find the maximum 
profit. You may complete a...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 23:21:20   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                标记有(*)要着重了解: 
(1)alias(别名拦截器):允许参数在跨越多个请求时使用不同别名,该拦截器可将多个Action采用不同名字链接起来,然后用于处理同一信息。 
(2)autowiring(自动装配拦截器):主要用于当Struts2和Spring整合时,Struts2可以使用自动装配的方.....
                            
                            
                                分类:
其他好文   时间:
2014-05-03 22:16:48   
                                阅读次数:
272
                             
                    
                        
                            
                            
                                题目:
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (c...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 21:48:19   
                                阅读次数:
252
                             
                    
                        
                            
                            
                                Let's consider a triangle of numbers in which a number appears in the first line, two numbers appear in the second line, three in the third line, etc. Develop a program which will compute the largest ...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 17:32:22   
                                阅读次数:
284
                             
                    
                        
                            
                            
                                在Bash环境中,定义了alias替换有时会产生不是想要的替换:e.g:;而定义function则可以避免这种缺陷。...
                            
                            
                                分类:
系统相关   时间:
2014-05-03 15:21:39   
                                阅读次数:
319