 
        
         
        2015年11月2日
    
 
        
        
摘要:        
题目: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...    
阅读全文
            posted @ 2015-11-02 09:17
已停更
阅读(160)
推荐(0)
        
            
        
        
摘要:        
题目:Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complex...    
阅读全文
            posted @ 2015-11-02 08:41
已停更
阅读(175)
推荐(0)
        
 
		
    
        
             
        
         
        2015年10月31日
    
 
        
        
摘要:        
题目:Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3...    
阅读全文
            posted @ 2015-10-31 21:53
已停更
阅读(177)
推荐(0)
        
 
		
    
        
             
        
         
        2015年10月30日
    
 
        
        
摘要:        
题目:You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 s...    
阅读全文
            posted @ 2015-10-30 15:57
已停更
阅读(156)
推荐(0)
        
            
        
        
摘要:        
今天开始刷LeeCode,开此随笔以备总结,2015.10.30,做题顺序以通过率正序排序    
阅读全文
            posted @ 2015-10-30 14:50
已停更
阅读(151)
推荐(0)
        
 
		
    
        
             
        
         
        2015年10月26日
    
 
        
        
        
            posted @ 2015-10-26 15:10
已停更
阅读(652)
推荐(0)
        
 
		
    
        
             
        
         
        2015年10月25日
    
 
        
        
        
            posted @ 2015-10-25 21:17
已停更
阅读(312)
推荐(0)
        
 
		
    
        
             
        
         
        2015年10月14日
    
 
        
        
        
            posted @ 2015-10-14 11:34
已停更
阅读(497)
推荐(0)
        
 
		
    
        
             
        
         
        2015年10月7日
    
 
        
        
摘要:        
用UDP协议发送时,用sendto函数最大能发送数据的长度为:65535-20-8=65507字节,其中20字节为IP包头长度,8字节为UDP包头长度。用sendto函数发送数据时,如果指的的数据长度大于该值,则函数会返回错误。用TCP协议发送时,由于TCP是数据流协议,因此不存在包大小的限制(暂不...    
阅读全文
            posted @ 2015-10-07 11:38
已停更
阅读(5318)
推荐(0)
        
 
		
    
        
             
        
         
        2015年10月6日
    
 
        
        
摘要:        
八大排序算法的 Python 实现    
阅读全文
            posted @ 2015-10-06 16:23
已停更
阅读(355)
推荐(0)