04 2020 档案

摘要: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 1 0 0 1 0 1 1 1 阅读全文
posted @ 2020-04-29 16:22 琴影 阅读(203) 评论(0) 推荐(0) 编辑
摘要:You are given a string s containing lowercase English letters, and a matrix shift, where shift[i] = [direction, amount]: direction can be 0 (for left 阅读全文
posted @ 2020-04-18 11:53 琴影 阅读(312) 评论(0) 推荐(0) 编辑
摘要:Given the array nums, obtain a subsequence of the array whose sum of elements is strictly greater than the sum of the non included elements in such su 阅读全文
posted @ 2020-04-11 09:53 琴影 阅读(445) 评论(0) 推荐(0) 编辑