摘要: 求出最长好子序列 I 题面:https://leetcode.cn/problems/find-the-maximum-length-of-a-good-subsequence-i/description/ dp含义: dp[i][j] 前i个数,不超过j个不满足 递推: 遍历之前的数,如果nums 阅读全文
posted @ 2024-06-10 10:58 lelemeimei 阅读(32) 评论(0) 推荐(0) 编辑