摘要: Maximal Square Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example: Input: 1 0 阅读全文
posted @ 2020-07-18 17:29 十三w~w 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Combination Sum III Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each co 阅读全文
posted @ 2020-07-18 15:42 十三w~w 阅读(99) 评论(0) 推荐(0) 编辑
摘要: Kth Largest Element in an Array Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not th 阅读全文
posted @ 2020-07-18 15:08 十三w~w 阅读(89) 评论(0) 推荐(0) 编辑