摘要:        
Largest Number2015.1.23 20:24Given a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, ...    阅读全文
        
            posted @ 2015-01-23 20:29
zhuli19901106
阅读(319)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Dungeon Game2015.1.23 19:38The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists o...    阅读全文
        
            posted @ 2015-01-23 20:22
zhuli19901106
阅读(412)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Binary Search Tree Iterator2015.1.23 18:58Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node ...    阅读全文
        
            posted @ 2015-01-23 19:37
zhuli19901106
阅读(351)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Factorial Trailing Zeroes2015.1.23 18:46Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time ...    阅读全文
        
            posted @ 2015-01-23 18:49
zhuli19901106
阅读(172)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Excel Sheet Column Number2015.1.23 17:54Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corres...    阅读全文
        
            posted @ 2015-01-23 17:59
zhuli19901106
阅读(226)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Majority Element2015.1.23 17:46Given an array of sizen, find the majority element. The majority element is the element that appears more than⌊ n/2 ⌋ti...    阅读全文
        
            posted @ 2015-01-23 17:50
zhuli19901106
阅读(222)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Excel Sheet Column Title2015.1.23 17:20Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -...    阅读全文
        
            posted @ 2015-01-23 17:31
zhuli19901106
阅读(277)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Fraction to Recurring Decimal2015.1.23 15:59Given two integers representing the numerator and denominator of a fraction, return the fraction in string...    阅读全文
        
            posted @ 2015-01-23 16:40
zhuli19901106
阅读(276)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Compare Version Numbers2015.1.23 15:27Compare two version numbersversion1andversion1.Ifversion1>version2return 1, ifversion1 n2) { 25 retu...    阅读全文
        
            posted @ 2015-01-23 15:56
zhuli19901106
阅读(306)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Maximum Gap2015.1.23 15:00Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in l...    阅读全文
        
            posted @ 2015-01-23 15:17
zhuli19901106
阅读(150)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Find Peak Element2015.1.23 14:28A peak element is an element that is greater than its neighbors.Given an input array wherenum[i] ≠ num[i+1], find a pe...    阅读全文
        
            posted @ 2015-01-23 14:38
zhuli19901106
阅读(255)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Intersection of Two Linked Lists2015.1.23 12:53Write a program to find the node at which the intersection of two singly linked lists begins.For exampl...    阅读全文
        
            posted @ 2015-01-23 13:31
zhuli19901106
阅读(330)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Min Stack2015.1.23 12:13Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x o...    阅读全文
        
            posted @ 2015-01-23 12:27
zhuli19901106
阅读(195)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Find Minimum in Rotated Sorted Array II2015.1.23 11:41Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7mig...    阅读全文
        
            posted @ 2015-01-23 12:13
zhuli19901106
阅读(191)
评论(0)
推荐(0)
        
    
 
                    
                     
                    
                 
                    
                 

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号