Fork me on GitHub
摘要: 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],t 阅读全文
posted @ 2017-08-08 18:05 hellowOOOrld 阅读(126) 评论(0) 推荐(0)
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma 阅读全文
posted @ 2017-08-08 15:04 hellowOOOrld 阅读(157) 评论(0) 推荐(0)