Problem DescriptionGiven n integers.You have two 
operations:U A B: replace the Ath number by B. (index counting from 0)Q A B: 
output the length of the...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 01:20:33   
                                阅读次数:
332
                             
                    
                        
                            
                            
                                ORACLE中有一张系统数据库表DUAL用来访问系统的相关信息SELECT SYSDATE 
FROM DUAL; 
--返回当前系统日期-----------------------------------------------------------------------------------...
                            
                            
                                分类:
数据库   时间:
2014-05-06 00:33:06   
                                阅读次数:
897
                             
                    
                        
                            
                            
                                3 30 1000 false Test false 100 null false 60 3 60 
15 100 3 root password select id from test where id=1 300 false true root false 
con_test 30000 30 .....
                            
                            
                                分类:
其他好文   时间:
2014-05-06 00:31:10   
                                阅读次数:
258
                             
                    
                        
                            
                            
                                今天有一同学在群上聊到一个比较好玩的题目(本人看书不多,后面才知是《C++模板元编程》第二章里面的一道习题), 
我也抱着试一试的态度去完成它, 这道题也体现了c++模板元编程的基础和精髓: 类型就是数据。题目如下所述:Write a ternary 
metafunctionreplace_typet...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 00:27:15   
                                阅读次数:
333
                             
                    
                        
                            
                            
                                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
                             
                    
                        
                            
                            
                                遇到的问题:input{1,1,1}, output{1,1}, expected{1}, 
原因在于若temp.val==temp.next.val, 则需要temp.next=temp.next.next, 
这时候就不要temp=temp.next了注意停止条件不光是temp!=null,还应该有...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:47:08   
                                阅读次数:
454
                             
                    
                        
                            
                            
                                Link:http://oj.leetcode.com/problems/reverse-linked-list-ii/Reverse a linked 
list from positionmton. Do it in-place and in one-pass.For example:Given1...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:46:11   
                                阅读次数:
411
                             
                    
                        
                            
                            
                                Problem 
Link:http://oj.leetcode.com/problems/word-ladder/Two typical techniques are 
inspected in this problem:Hash Table. One hash set is the words di...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:44:44   
                                阅读次数:
393
                             
                    
                        
                            
                            
                                视图(View)实际上是一张或者多张表上的预定义查询,这些表称为基表。从视图中查询信息与从表中查询信息的方法完全相同。只需要简单的 SELECT…FROM 
即可。视图具有以下优点:1. 可以限制用户只能通过视图检索数据。这样就可以对最终用户屏蔽建表时底层的基表。2. 可以将复杂的查询保存为视图。.....
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:38:28   
                                阅读次数:
332
                             
                    
                        
                            
                            
                                Problem Description
Given an positive integer A (1 
For example, given A = 26, we can write A in binary form as 11010, so the lowest bit of A is 10, so the output should be 2.
Another example...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 13:22:39   
                                阅读次数:
394