会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
SandaiYoung
博客园
首页
新随笔
联系
管理
订阅
2024年3月14日
代码随想录算法训练营第四十六天| 139.单词拆分 多重背包 背包问题总结篇!
摘要: 单词拆分 题目链接:139. 单词拆分 - 力扣(LeetCode) 思路:竟然真能转化为背包问题。 class Solution { public: bool wordBreak(string s, vector<string>& wordDict) { unordered_set<string>
阅读全文
posted @ 2024-03-14 20:20 SandaiYoung
阅读(4)
评论(0)
推荐(0)
编辑
公告