当前位置:网站首页>dp(动态规划)
dp(动态规划)
2022-07-27 17:10:00 【遨游的菜鸡】
1.序言
分治法:问题可分解为规模逐渐减小的同类型子问题,子问题相互独立,不包含公告子问题
dp:问题可分解为规模逐渐减小的同类型子问题,但分解得到的子问题很多都是重复的。即总大问题可以分解为二级子问题,三级子问题。。。其中二级子问题中的每个子问题都需要用到每个三级子问题的解,因此每个三级自问题只需要计算一次,把其结果保存,在需要的时候调用。
dp:每个动态规划都从一个网格开始
2.开始
1.入门—01背包
https://www.cnblogs.com/kkbill/p/12081172.html(推荐)
https://blog.csdn.net/qq_38410730/article/details/81667885
2.入门—把数字翻译成字符串
https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof/
3.入门—最长公共子序列
https://blog.csdn.net/weixin_40673608/article/details/84262695
https://leetcode-cn.com/problems/circus-tower-lcci/submissions/
4.入门—最长递增子序列
https://blog.csdn.net/qq_50811909/article/details/109308047
https://leetcode-cn.com/problems/circus-tower-lcci/submissions/
5.入门—最长不含重复字符的子字符串
https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof/
6.入门—矩阵连乘
https://www.cnblogs.com/henuliulei/p/10074465.html
https://max.book118.com/html/2017/0401/98330161.shtm
7.入门—最小操作次数使数组元素相等
https://leetcode-cn.com/submissions/detail/36441618/
8.入门—最小代价爬楼梯问题
https://leetcode-cn.com/problems/min-cost-climbing-stairs/solution/dp-by-codedrt/
9.强化—回文子串个数
https://leetcode-cn.com/problems/palindromic-substrings/
10.强化—分割回文子串(dp+回溯)
https://leetcode-cn.com/problems/M99OJA/
11.强化—最优二分检索树
https://blog.csdn.net/ncepuzhuang/article/details/8924369
12.强化—最优二叉搜索树
11.强化—最优三角剖分
https://blog.csdn.net/pi9nc/article/details/9750091
https://www.cnblogs.com/Konjakmoyu/p/4905563.html
边栏推荐
- [Huawei cloud stack] [shelf presence] issue 13: have you seen the decoupling architecture of the management area? Help government and enterprise customers solve big problems
- Tab control of MFC advanced control (CTabCtrl)
- [basic knowledge of deep learning - 44] the method of realizing multiple classification by logistic regression
- SharePreference(存储)
- RadioGroup(单选框)
- ContextMenu(上下文菜单)
- Session攻击
- GestureDetector(手势识别)
- 四大组件之ContentProvider
- 【华为云Stack】【大架光临】第13期:管理区解耦架构见过吗?帮政企客户搞定大难题
猜你喜欢

【深度学习基础知识 - 45】机器学习中常用的距离计算方法

Complete source code of E-commerce mall applet project (wechat applet)

SystemService(系统服务)
Dry goods of technical practice | preliminary exploration of large-scale gbdt training
![[basic knowledge of deep learning - 37] solve the imbalance between positive and negative samples](/img/71/4052607951eb52862a6fd36366f216.png)
[basic knowledge of deep learning - 37] solve the imbalance between positive and negative samples

SharePreference(存储)

【深度学习基础知识 - 42】逻辑回归详解

Map和Set

Debian recaptured the "debian.community" domain name, but it's still not good to stop and rest

Session攻击
随机推荐
[basic knowledge of deep learning - 48] characteristics of Bayesian network
反超华为?爱立信已拿下超过75份5G商用合同
Publish your own NPM component library
What's new in helix QAC 2022.2, the ace code static testing tool (1)
I want to consult. Our maxcompute spark program needs to access redis, development environment and production environment redis
【日常积累 - 07】cuda多版本切换
DatePicker(日期选择器)与TimePicker(时间选择器)
Unity-FairyGUI播放视频(Lua)
[Huawei cloud stack] [shelf presence] issue 13: have you seen the decoupling architecture of the management area? Help government and enterprise customers solve big problems
嵌入式C语言指针别名
英特尔发布Horse Ridge芯片:22nm工艺,能够控制多个量子位
FileOutputStream(文件储存)与FileInputStream(文件读取)
BroadcastReceiver(广播)
Complex number proof of solvability of regular 17 sided ruler and gauge drawing
PyTorch报CUDA error: no kernel image is available for execution on the device 错误
5W bonus pool / for colleges and universities, 2022 legal science and technology innovation competition is in progress
[basic knowledge of deep learning - 44] the method of realizing multiple classification by logistic regression
应用程序池已被禁用
SystemService(系统服务)
Embedded C language structure