Maximal Square Total Accepted: 1312 Total Submissions: 6388 Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1 ...
                            
                            
                                分类:
其他好文   时间:
2017-06-26 19:08:38   
                                阅读次数:
142
                             
                    
                        
                            
                            
                                    Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
                            
                            
                                分类:
其他好文   时间:
2017-06-23 23:48:06   
                                阅读次数:
223
                             
                    
                        
                            
                            
                                    Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. PS:将其化解为柱状图求最大体积的问题。先用动态规划的思路,将矩 ...
                            
                            
                                分类:
其他好文   时间:
2017-06-23 23:44:45   
                                阅读次数:
160
                             
                    
                        
                            
                            
                                题目: Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest form ...
                            
                            
                                分类:
其他好文   时间:
2017-06-21 21:15:58   
                                阅读次数:
197
                             
                    
                        
                            
                            
                                昨天看岛娘直播解题,看到很经典的一题Largest Rectangle in Histogram 题目地址:https://leetcode.com/problems/largest-rectangle-in-histogram/#/description 解法: 从左向右扫描矩形柱,当右边高于左边 ...
                            
                            
                                分类:
其他好文   时间:
2017-06-20 18:12:00   
                                阅读次数:
137
                             
                    
                        
                            
                            
                                Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For exam ...
                            
                            
                                分类:
其他好文   时间:
2017-06-19 14:23:58   
                                阅读次数:
201
                             
                    
                        
                            
                            
                                Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [-2,1,-3,4,-1,2, ...
                            
                            
                                分类:
其他好文   时间:
2017-06-12 20:40:29   
                                阅读次数:
155
                             
                    
                        
                            
                            
                                題目:給你一個整數n(不超過14位)。求出他的最大的素數因子。假设仅仅有一個素數因子輸出-1。 分析:數論。直接打表計算10^7內的全部素數因子,然後用短除法除n。記錄最大的因子就可以。 假设最後下的數字不是1,則它就是最大的素數因子。 說明:注意n可能為負數。 #include <algorith ...
                            
                            
                                分类:
其他好文   时间:
2017-06-08 10:45:40   
                                阅读次数:
121
                             
                    
                        
                            
                            
                                    https://github.com/Premiumlab/Python-for-Algorithms--Data-Structures--and-Interviews/blob/master/Mock%20Interviews/Ride%20Share%20Start-Up%20Company/R ...
                            
                            
                                分类:
其他好文   时间:
2017-06-08 10:31:05   
                                阅读次数:
235
                             
                    
                        
                            
                            
                                    题目描述 Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the ...
                            
                            
                                分类:
其他好文   时间:
2017-06-04 11:39:55   
                                阅读次数:
182