当前位置:网站首页>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
边栏推荐
- [basic knowledge of deep learning - 41] quick start learning materials for deep learning
- The valuation exceeds 15.6 billion yuan! Huaqin communication completed the round B financing of 1billion yuan! Qualcomm venture capital, Intel Capital led investment
- 反超华为?爱立信已拿下超过75份5G商用合同
- 【深度学习基础知识 - 41】深度学习快速入门学习资料
- Chinese character search Pinyin wechat applet project source code
- A lock faster than read-write lock. Don't get to know it quickly
- SumMenuDemo(子菜单)
- 【深度学习基础知识 - 49】Kmeans
- OPPO发布首款AR眼镜,宣布未来3年投入500亿进行研发
- 台积电5nm即将量产:苹果A14独占7成产能,华为麒麟1020拿下3成
猜你喜欢

【深度学习基础知识 - 46】贝叶斯定理与条件概率公式

S32k series chips -- Introduction

Tab control of MFC advanced control (CTabCtrl)

Detailed interpretation of IEC104 protocol (I) protocol structure

S32K系列芯片--简介

Introduction to socke programming

Come to sword finger offer 03. Repeated numbers in the array

ToggleButton(按钮开关)

SharePreference(存储)

Complete source code of E-commerce mall applet project (wechat applet)
随机推荐
Detailed interpretation of IEC104 protocol (II) interaction process and protocol analysis
Big guys, Oracle CDC, local operation, always encounter this an exception occurred in
influxDB系列(四)TSM引擎(存储原理)
GridView(实现表格显示图标)
Map和Set
TSMC 5nm is about to mass produce: Apple A14 monopolizes 70% of the production capacity, and Huawei Kirin 1020 takes 30%
Introduction to several wireless protocols
SharePreference(存储)
【日常积累 - 06】查看cuda和cudnn版本
Under the heat wave of Web3.0, the ecological shock of Mensa struck
ReferenceError: __ dirname is not defined in ES module scope
Introduction to Flink operator
Introduction to socke programming
访问控制
What's new in helix QAC 2022.2, the ace code static testing tool (1)
Flink introduction and operation architecture
Application pool has been disabled
SQLServer 2008中事务日志已满问题处理
Optimization of fixed number of cycles in embedded C language
[basic knowledge of in-depth learning - 40] Why does CNN have more advantages than DNN in the field of images