摘要:        
题目:Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't ...    阅读全文
posted @ 2015-12-20 20:04
zhangbaochong
阅读(240)
评论(0)
推荐(0)
        
            
        
        
摘要:        
题目:Given an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all the elements ofnumsexceptnums[i].S...    阅读全文
posted @ 2015-12-20 19:22
zhangbaochong
阅读(311)
评论(0)
推荐(0)
        
            
        
        
摘要:        
题目:Given an array of sizen, find the majority element. The majority element is the element that appears more than⌊ n/2 ⌋times.You may assume that the ...    阅读全文
posted @ 2015-12-20 14:13
zhangbaochong
阅读(306)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号