摘要: 原题链接在这里:https://leetcode.com/problems/product-of-the-last-k-numbers/ 题目: Implement the class ProductOfNumbers that supports two methods: 1. add(int nu 阅读全文
posted @ 2020-03-08 15:19 Dylan_Java_NYC 阅读(659) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/flip-string-to-monotone-increasing/ 题目: A string of '0's and '1's is monotone increasing if it consists of some 阅读全文
posted @ 2020-03-08 14:17 Dylan_Java_NYC 阅读(211) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/ 题目: Given a m * n grid, where each cell is either 0 (empty)  阅读全文
posted @ 2020-03-08 08:16 Dylan_Java_NYC 阅读(1366) 评论(0) 推荐(0)