Constructing Roads
Time Limit: 2000MS
 
Memory Limit: 65536K
Total Submissions: 18744
 
Accepted: 7755
Description
There are N villages, which are numbered from 1 to N, and...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:02:33   
                                阅读次数:
221
                             
                    
                        
                            
                            
                                Say you have an array for which theithelement 
is the price of a given stock on dayi.Design an algorithm to find the maximum 
profit. You may complete a...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 00:51:29   
                                阅读次数:
353
                             
                    
                        
                            
                            
                                Factorial Problem in Base K
Time Limit: 2 Seconds      Memory Limit: 65536 KB
How many zeros are there in the end of s! if both s and s! are written in base k which is not necessarily to be 10...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 20:11:29   
                                阅读次数:
376
                             
                    
                        
                            
                            
                                Okay for centos 6.4 also On apu.0xdata.loc, 
after this install was done$ which python /usr/local/bin/python$ python -VPython 
2.7.3$ ls -ltr /usr/local...
                            
                            
                                分类:
编程语言   时间:
2014-05-02 12:53:59   
                                阅读次数:
609
                             
                    
                        
                            
                            
                                Where's Waldorf? 
Given a m by n grid
 of letters, ( ),
 and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 10:59:15   
                                阅读次数:
514
                             
                    
                        
                            
                            
                                Given a binary tree, determine if it is 
height-balanced.For this problem, a height-balanced binary tree is defined as a 
binary tree in which the depth...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 07:05:08   
                                阅读次数:
311
                             
                    
                        
                            
                            
                                Say you have an array for which theithelement 
is the price of a given stock on dayi.If you were only permitted to complete at 
most one transaction (ie...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 00:37:20   
                                阅读次数:
349
                             
                    
                        
                            
                            
                                Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3....
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:47:20   
                                阅读次数:
251
                             
                    
                        
                            
                            
                                Problem Description
In the Wide Web World, Which web server was popular in web site? Apache, nginx, lighttpd? Baidu.com use Apache, and many web sites like 163.com use nginx. Why? Its configuration i...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:24:20   
                                阅读次数:
355
                             
                    
                        
                            
                            
                                Pick apples
Time Limit: 1000MS Memory limit: 165536K
题目描述
Once ago, there is a mystery yard which only produces three kinds of apples. The number of each kind is infinite. A girl carrying a...
                            
                            
                                分类:
移动开发   时间:
2014-04-29 13:18:22   
                                阅读次数:
489