class Solution {public: ListNode 
*addTwoNumbers(ListNode *l1, ListNode *l2) { ListNode* p = l1; ListNode* q = l2; 
ListNode* re...
                            
                            
                                分类:
其他好文   时间:
2014-06-07 03:50:49   
                                阅读次数:
218
                             
                    
                        
                            
                            
                                Bonding:Ethernet Channel Bonding enables two or 
more Network Interfaces Card (NIC) to a single virtual NIC card which may 
increase the bandwidth and p...
                            
                            
                                分类:
Web程序   时间:
2014-06-07 03:38:59   
                                阅读次数:
267
                             
                    
                        
                            
                            
                                Givennnon-negative integersa1,a2, ...,an, where 
each represents a point at coordinate (i,ai).nvertical lines are drawn such that 
the two endpoints of ...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 21:09:33   
                                阅读次数:
307
                             
                    
                        
                            
                            
                                Given two numbers represented as strings, 
return multiplication of the numbers as a string.Note: The numbers can be 
arbitrarily large and are non-nega...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 20:19:04   
                                阅读次数:
313
                             
                    
                        
                            
                            
                                Given two binary strings, return their sum 
(also a binary string).For example,a ="11"b ="1"Return"100".class Solution 
{public: string addBinary(str...
                            
                            
                                分类:
其他好文   时间:
2014-05-30 08:39:11   
                                阅读次数:
270
                             
                    
                        
                            
                            
                                题意大概是给出一个数列num,和一个目标数target,然后要找出数列中的两个数,使得这两个数之和等于目标数,输出这两个数的下标值(从1开始算)。 
一个比较暴力的方法是用一个二重循环直接遍历序列,在第一重循环中找到a,在第二重循环中找到b,使得a+b=target,这种做法的时间复杂度是O(n^2....
                            
                            
                                分类:
其他好文   时间:
2014-05-29 21:01:06   
                                阅读次数:
307
                             
                    
                        
                            
                            
                                http://dongxicheng.org/mapreduce/hadoop-join-two-tables/http://dongxicheng.org/mapreduce/run-hadoop-job-problems/http://dongxicheng.org/mapreduce/hdfs...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 12:27:09   
                                阅读次数:
260
                             
                    
                        
                            
                            
                                从052之134题看数据库监听服务134、listener 
service/考察动态注册于静态注册/View the Exhibit and examine the output.Which two statements 
are true regarding the LISTENER2 listen...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 12:23:06   
                                阅读次数:
493
                             
                    
                        
                            
                            
                                mysql官方的HA中间件http://www.mysql.com/products/enterprise/fabric.htmlMySQL 
Fabric is an extensible framework for managing farms of MySQL Servers. Two 
feat...
                            
                            
                                分类:
数据库   时间:
2014-05-29 10:50:17   
                                阅读次数:
695
                             
                    
                        
                            
                            
                                Problem: Given a two-dimensional graph with 
points on it, find a line which passes the most number of points.此题是Cracking the 
code 5th edition 第七章第六题,思...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 08:10:38   
                                阅读次数:
292