Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[pull] master from youngyangyang04:master #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
pull merged 4 commits into AlgorithmAndLeetCode:master from youngyangyang04:master
Jul 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
加入B站視頻網址
  • Loading branch information
Lozakaka authored Jun 17, 2023
commit 342e7a597eb50c1570fdd713a237b761ab777bd6
9 changes: 7 additions & 2 deletions problems/0583.两个字符串的删除操作.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@

* 输入: "sea", "eat"
* 输出: 2
* 解释: 第一步将"sea"变为"ea",第二步将"eat"变为"ea"
* 解释: 第一步将"sea"变为"ea",第二步将"eat"变为"ea"

## 思路

# 算法公开课

**《代码随想录》算法视频公开课:[动态规划之子序列,还是为了编辑距离做铺垫 | LeetCode:583.两个字符串的删除操(https://www.bilibili.com/video/BV1we4y157wB/),相信结合视频再看本篇题解,更有助于大家对本题的理解**。


## 思路
### 动态规划一

本题和[动态规划:115.不同的子序列](https://programmercarl.com/0115.不同的子序列.html)相比,其实就是两个字符串都可以删除了,情况虽说复杂一些,但整体思路是不变的。
Expand Down

AltStyle によって変換されたページ (->オリジナル) /