摘要: Problem : Given a collection of candidate numbers ( ) and a target number ( ), find all unique combinations in where the candidate numbers sums to . E 阅读全文
posted @ 2020-02-10 18:27 littledy 阅读(83) 评论(0) 推荐(0)
摘要: Problem : Given n non negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap afte 阅读全文
posted @ 2020-02-10 14:41 littledy 阅读(94) 评论(0) 推荐(0)
摘要: Problem : Given an array of non negative integers, you are initially positioned at the first index of the array. Each element in the array represents 阅读全文
posted @ 2020-02-10 13:50 littledy 阅读(89) 评论(0) 推荐(0)
摘要: Problem : Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. Example: 思路 : 遍历二维数组中的 阅读全文
posted @ 2020-02-10 10:44 littledy 阅读(104) 评论(0) 推荐(0)