![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dp
文章平均质量分 77
codefreestyle
这个作者很懒,什么都没留下…
展开
-
2290. Minimum Obstacle Removal to Reach Corner
文章目录解题代码解题思路英文题目链接中文题目链接You are given a 0-indexed 2D integer array grid of size m x n. Each cell has one of two values:0 represents an empty cell,1 represents an obstacle that may be removed.You can move up, down, left, or right from and to an empty原创 2022-05-29 17:52:04 · 268 阅读 · 0 评论 -
# 329. Longest Increasing Path in a Matrix
文章目录329. Longest Increasing Path in a Matrix解题代码解题思路329. Longest Increasing Path in a Matrix英文题目链接中文题目链接Given an m x n integers matrix, return the length of the longest increasing path in matrix.From each cell, you can either move in four directions:原创 2022-05-19 10:30:09 · 275 阅读 · 0 评论 -
Leetcode 740. Delete and Earn
题目英文题目链接中文题目链接描述Given an array nums of integers, you can perform operations on the array.In each operation, you pick any nums[i] and delete it to earn nums[i] points. After, you must delete every element equal to nums[i] - 1 or nums[i] + 1.You start原创 2020-07-25 18:21:53 · 81 阅读 · 0 评论 -
Leetcode 486. Predict the Winner
题目传送门英文题目地址中文题目地址题目描述Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and then player 1 and so on. Each time a player picks a number, that number will not b原创 2020-07-24 00:23:04 · 107 阅读 · 0 评论