会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小路不会迷路
博客园
首页
新随笔
联系
订阅
管理
2019年9月9日
从递归到memo到动态规划
摘要: //memo,记忆化搜索 class Solution { int[][] memo; public boolean wordBreak(String s, List<String> wordDict) { int n=s.length(); memo=new int[n+1][n+1]; for(
阅读全文
posted @ 2019-09-09 21:40 小路不会迷路
阅读(358)
评论(0)
推荐(0)
公告