会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Danae丶
博客园
首页
新随笔
联系
订阅
管理
2021年8月11日
交错字符串
摘要: 题源:LeetCode 链接:https://leetcode-cn.com/problems/interleaving-string/ 这道题目可以考虑使用动态规划去完成 我们可以找到他的状态转移方程: 其中这个p为i+j-1。 代码实现如下: 1 class Solution { 2 publi
阅读全文
posted @ 2021-08-11 16:53 Danae丶
阅读(56)
评论(0)
推荐(0)
公告