摘要: 原题链接在这里:https://leetcode.com/problems/largest-plus-sign/ 题目: In a 2D grid from (0, 0) to (N-1, N-1), every cell contains a 1, except those cells in th 阅读全文
posted @ 2019-11-01 12:50 Dylan_Java_NYC 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/filling-bookcase-shelves/ 题目: We have a sequence of books: the i-th book has thickness books[i][0] and height bo 阅读全文
posted @ 2019-11-01 11:28 Dylan_Java_NYC 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/longest-arithmetic-sequence/ 题目: Given an array A of integers, return the length of the longest arithmetic subse 阅读全文
posted @ 2019-11-01 09:17 Dylan_Java_NYC 阅读(679) 评论(0) 推荐(0) 编辑