QUESTIONGiven n points on a 2D plane, find the maximum number of points that lie on the same straight line.1ST TRY/** * Definition for a point. * stru...
                            
                            
                                分类:
其他好文   时间:
2014-12-16 23:55:56   
                                阅读次数:
201
                             
                    
                        
                            
                            
                                本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/41964475
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 leaf node....
                            
                            
                                分类:
其他好文   时间:
2014-12-16 21:07:51   
                                阅读次数:
197
                             
                    
                        
                            
                            
                                Given an unsorted array, find the maximum difference between the successive elements in its sorted form.
Try to solve it in linear time/space.
Return 0 if the array contains less than 2 elements.
Y...
                            
                            
                                分类:
其他好文   时间:
2014-12-16 19:18:41   
                                阅读次数:
230
                             
                    
                        
                            
                            
                                Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.Solution: 1 /** 2 * Definition for a point. 3 ...
                            
                            
                                分类:
其他好文   时间:
2014-12-16 06:30:33   
                                阅读次数:
249
                             
                    
                        
                            
                            
                                Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4],the...
                            
                            
                                分类:
其他好文   时间:
2014-12-15 23:31:49   
                                阅读次数:
214
                             
                    
                        
                            
                            
                                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 leaf node.
/**
 * Definition for binary tree
...
                            
                            
                                分类:
其他好文   时间:
2014-12-15 21:52:22   
                                阅读次数:
124
                             
                    
                        
                            
                            
                                1、题目
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.
Try to solve it in linear time/space.
Return 0 if the array contains less than ...
                            
                            
                                分类:
编程语言   时间:
2014-12-15 09:00:47   
                                阅读次数:
222
                             
                    
                        
                            
                            
                                转载请注明: TheViperhttp://www.cnblogs.com/TheViper在上一篇socket.io迁移指南中提到过一点engine.io.engine.io是socket.io 1.x的抽象,核心。特点: Maximum reliability(最大的可靠性)即使在下列情况...
                            
                            
                                分类:
其他好文   时间:
2014-12-14 23:57:13   
                                阅读次数:
231
                             
                    
                        
                            
                            
                                --配置oracle最大打开文件数限制
Solaris操作系统具有打开文件数量的限制,数据库的db_files参数设置会受操作系统的参数限制。
Soft Limit: maximum open file descriptors - This is a prerequisite condition to test whether the soft limit for "maximum open file descriptors" is set correctly.
Expected Value : 1024
...
                            
                            
                                分类:
数据库   时间:
2014-12-14 15:53:34   
                                阅读次数:
579
                             
                    
                        
                            
                            
                                Maximum GapGiven an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/spac...
                            
                            
                                分类:
其他好文   时间:
2014-12-14 11:52:36   
                                阅读次数:
136