摘要:        
2014-05-06 13:34题目链接原题:we have a random list of people. each person knows his own height and the number of tall people in front of him. write a code t...    阅读全文
        
            posted @ 2014-05-06 13:59
zhuli19901106
阅读(409)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 13:23题目链接原题:Finding a pair of elements from two sorted lists(or array) for which the sum of the elements is a certain value. Anyway solutio...    阅读全文
        
            posted @ 2014-05-06 13:32
zhuli19901106
阅读(167)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 11:31题目链接原题:Find the k-th Smallest Element in Two Sorted Arrays. I followed the algorithm from this post, http://leetcode.com/2011/01/find-...    阅读全文
        
            posted @ 2014-05-06 12:22
zhuli19901106
阅读(203)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 10:18题目链接原题:Given a set of intervals, find the interval which has the maximum number of intersections (not the length of a particular inter...    阅读全文
        
            posted @ 2014-05-06 10:44
zhuli19901106
阅读(286)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 07:56题目链接原题:Flatten an iterator of iterators in Java. If the input is [ [1,2], [3,[4,5]], 6], it should return [1,2,3,4,5,6]. Implement has...    阅读全文
        
            posted @ 2014-05-06 09:53
zhuli19901106
阅读(216)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 07:11题目链接原题:Find a shortest path in a N*N matrix maze from (0,0) to (N,N), assume 1 is passable, 0 is not, 3 is destination, use memorizati...    阅读全文
        
            posted @ 2014-05-06 07:29
zhuli19901106
阅读(226)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 06:37题目链接原题:Given an array of (unsorted) integers, arrange them such that a c e... etc.题目:给定一个无序的数组,调整元素顺序,使得数组满足a c e ... 这种形式。解法:这题没有...    阅读全文
        
            posted @ 2014-05-06 06:55
zhuli19901106
阅读(228)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 01:49题目链接原题:Modify the following code to add a row number for each line is printedpublic class Test { public static void main(String [] ...    阅读全文
        
            posted @ 2014-05-06 02:42
zhuli19901106
阅读(224)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 01:40题目链接原题:Give a N*N matrix, print it out diagonally. Follow up, if it is a M*N matrix, how to print it out. Example: 1 2 3 4 5 6 7 8 9 p...    阅读全文
        
            posted @ 2014-05-06 01:43
zhuli19901106
阅读(151)
评论(0)
推荐(0)
        
            
        
        
摘要:        
2014-05-06 00:45题目链接原题:What would happen if you have only one server for a web cache (a web browser cache whose key is url and value is the loaded con...    阅读全文
        
            posted @ 2014-05-06 00:56
zhuli19901106
阅读(241)
评论(0)
推荐(0)
        
    
 
                    
                     
                    
                 
                    
                 

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