
DP
DP
Nogard_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
392. Is Subsequence C++题解
题目 Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is potentially a very long (length ~= 500,000) strin...原创 2020-03-27 18:04:37 · 194 阅读 · 0 评论 -
746. Min Cost Climbing Stairs C++题解
题目 On a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed). Once you pay the cost, you can either climb one or two steps. You need to find minimum cost to reach the top o...原创 2020-03-28 17:42:46 · 252 阅读 · 0 评论 -
877.Stone Game C++题解
题目 Alex and Lee play a game with piles of stones. There are an even number of piles arranged in a row, and each pile has a positive integer number of stones piles[i]. The objective of the game is to e...原创 2020-03-27 18:00:22 · 388 阅读 · 0 评论 -
931. Minimum Falling Path Sum C++题解
题目 Given a square array of integers A, we want the minimum sum of a falling path through A. A falling path starts at any element in the first row, and chooses one element from each row. The next row’s...原创 2020-04-13 22:11:34 · 173 阅读 · 0 评论