当前位置:网站首页>DP (dynamic programming)
DP (dynamic programming)
2022-07-27 20:26:00 【Roaming vegetable chicken】
1. preface
Divide and conquer method : The problem can be decomposed into homogeneous subproblems with decreasing scale , The subproblems are independent of each other , It does not include announcement sub problems
dp: The problem can be decomposed into homogeneous subproblems with decreasing scale , But many subproblems obtained by decomposition are repetitive . That is, the total big problem can be decomposed into two-level subproblems , Three level subproblem ... Each subproblem in the second level subproblem needs the solution of each third level subproblem , Therefore, each three-level self problem only needs to be calculated once , Save the results , Called when needed .
dp: Every dynamic programming starts with a grid
2. Start
1. introduction —01 knapsack
https://www.cnblogs.com/kkbill/p/12081172.html( recommend )
https://blog.csdn.net/qq_38410730/article/details/81667885
2. introduction — Translate numbers into strings
https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof/
3. introduction — Longest common subsequence
https://blog.csdn.net/weixin_40673608/article/details/84262695
https://leetcode-cn.com/problems/circus-tower-lcci/submissions/
4. introduction — The longest increasing subsequence
https://blog.csdn.net/qq_50811909/article/details/109308047
https://leetcode-cn.com/problems/circus-tower-lcci/submissions/
5. introduction — The longest substring without repeating characters
https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof/
6. introduction — Matrix multiplication
https://www.cnblogs.com/henuliulei/p/10074465.html
https://max.book118.com/html/2017/0401/98330161.shtm
7. introduction — The minimum number of operations makes the array elements equal
https://leetcode-cn.com/submissions/detail/36441618/
8. introduction — Minimum cost stair climbing problem
https://leetcode-cn.com/problems/min-cost-climbing-stairs/solution/dp-by-codedrt/
9. strengthening — Number of palindrome substrings
https://leetcode-cn.com/problems/palindromic-substrings/
10. strengthening — Split palindrome substring (dp+ to flash back )
https://leetcode-cn.com/problems/M99OJA/
11. strengthening — Optimal binary search tree
https://blog.csdn.net/ncepuzhuang/article/details/8924369
12. strengthening — The best binary search tree
11. strengthening — Optimal triangulation
https://blog.csdn.net/pi9nc/article/details/9750091
https://www.cnblogs.com/Konjakmoyu/p/4905563.html
边栏推荐
- Set -- data deconstruction
- Clickhouse 实现 MaterializedPostgreSQL
- 22 year PMP test [Quanzhen agile test]
- If you want to switch to software testing, you should pass these three tests first, including a 3000 word super full test learning guide
- It is said that Intel will stop the nervana chip manufactured by TSMC at 16nm
- Source code analysis of Chang'an chain data storage
- API for obtaining the latest raw data of Taobao app product details
- unity2D 动态漫画剧本(给猛虎桥章节做动画演示二)
- Pyqt5 rapid development and practice 4.7 qspinbox (counter) and 4.8 QSlider (slider)
- C language POW function (how to play exponential function in C language)
猜你喜欢

Office automation solution - docuware cloud is a complete solution to migrate applications and processes to the cloud

Illustration leetcode - 592. Fraction addition and subtraction (difficulty: medium)

You can understand it at a glance, eslint

'vite' is not an internal or external command, nor is it a runnable program or batch file

Can software testing be learned in 2022? Don't learn, software testing positions are saturated

我也是醉了,Eureka 延迟注册还有这个坑

GLTF模型添加关节控制

Chapter 3 basic operation

PyQt5快速开发与实战 4.3 QLabel and 4.4 文本框类控件

数仓搭建——DWD层
随机推荐
Simple application of multipoint bidirectional republication and routing strategy
Huawei's mobile phone shipments exceed Apple's, ranking second in the world, but it faces a large amount of inventory that needs to be cleaned up
Codeworks round 810 (Div. 2) B.Party super detailed problem solution
Online judge output overrun
'vite' is not an internal or external command, nor is it a runnable program or batch file
2022年,软件测试还能学吗?别学了,软件测试岗位饱和了...
Clickhouse implements materializedpostgresql
In 2019, the global semiconductor market revenue was $418.3 billion, a year-on-year decrease of 11.9%
康佳首批10万颗存储主控芯片售罄,2020年预计销量1亿颗
It is said that Intel will stop the nervana chip manufactured by TSMC at 16nm
C language POW function (how to play exponential function in C language)
Codeforces Round #810 (Div. 2)B.party(思维题)超详细题解
Introduction to zepto
Konka sold out its first 100000 storage master chips, with an estimated sales volume of 100million in 2020
获得微店商品详情 API
联发科发布中端游戏手机芯片Helio G80
使用cpolar建立一个商业网站(5)
GLTF模型添加关节控制
I'm also drunk. Eureka delayed registration and this pit
Huiding Technology: the acquisition of NXP vas business has been completed