摘要:        
问题: 给定有0和1构成的二维数组, 求数组中,连续 1 构成正方形的面积最大是多少。 Example 1: Input: matrix = [["1","0","1","0","0"],["1","0","1","1","1"],["1","1","1","1","1"],["1&quo    阅读全文
posted @ 2021-03-31 15:20
habibah_chang
阅读(45)
评论(0)
推荐(0)
        
            
        
        
摘要:        
问题: 给定字符串s,和词典wordDict 若s可拆分成多个子串,存在于词典中,则返回true。否则返回false。 Example 1: Input: s = "leetcode", wordDict = ["leet","code"] Output: true Explanation: Ret    阅读全文
posted @ 2021-03-31 14:33
habibah_chang
阅读(49)
评论(0)
推荐(0)
        
            
        
        
摘要:        
问题: 给定一个数组,求任意区间[left, right]的元素和。 Example 1: Input ["NumArray", "sumRange", "sumRange", "sumRange"] [[[-2, 0, 3, -5, 2, -1]], [0, 2], [2, 5], [0, 5]]    阅读全文
posted @ 2021-03-31 14:00
habibah_chang
阅读(46)
评论(0)
推荐(0)
        
 
                    
                
 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号