题目: 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 t...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 03:20:07   
                                阅读次数:
502
                             
                         
                    
                        
                            
                            
                                The gray code is a binary numeral system where 
two successive values differ in only one bit.Given a non-negative 
integernrepresenting the total number...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 00:21:32   
                                阅读次数:
536
                             
                         
                    
                        
                            
                            
                                DescriptionLetxandybe two strings over some finite 
alphabetA. We would like to transformxintoyallowing only operations given 
below:Deletion:a letter i...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 16:22:00   
                                阅读次数:
450
                             
                         
                    
                        
                            
                            
                                Binary String Matching时间限制:3000ms | 
内存限制:65535KB难度:3描述Given two strings A and B, whose alphabet consist only ‘0’ and 
‘1’. Your task is only to tell ho...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 15:02:00   
                                阅读次数:
564
                             
                         
                    
                        
                            
                            
                                2014-04-29 
00:56题目:不用算数运算,完成加法。解法:那就位运算吧,用加法器的做法就可以了。代码: 1 // 18.1 add two numbers wihout 
using arithmetic operator. 2 #include 3 using namespace std....
                            
                            
                                分类:
其他好文   时间:
2014-04-29 14:58:53   
                                阅读次数:
383
                             
                         
                    
                        
                            
                            
                                Given two binary strings, return their sum 
(also a binary string).For example,a ="11"b 
="1"Return"100".给定两个二进制的字符串,返回他们的和。对于a,b两个二进制字符串,首先通过交换使a的长度小于b...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 02:05:20   
                                阅读次数:
502
                             
                         
                    
                        
                            
                            
                                Two ways to use sudo command for a standard 
user account:First,If you want to use sudo command for a standard user account, 
then you need to add this ...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 00:42:49   
                                阅读次数:
616
                             
                         
                    
                        
                            
                            
                                description:given two sorted singly list, merge 
them into one using constant additional spacealgorithm:we will reference the two 
linked list as list1 ...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 00:32:52   
                                阅读次数:
711
                             
                         
                    
                        
                            
                            
                                To The Max
Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 7533    Accepted Submission(s): 3647
Problem Description
Given a two-dim...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 19:54:26   
                                阅读次数:
624