isLouisHsu / isLouisHsu/isLouisHsu.github.io

【算法】动态规划 | LOUIS' BLOG

Open
#74 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

653c4c659bb4abbca6ce7b30682c3309 Gitalk
Dominant language
HTML
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

https://louishsu.xyz/2020/03/21/%E3%80%90%E7%AE%97%E6%B3%95%E3%80%91%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92/

动态规划和贪婪算法一样,对一个问题的解是一系列抉择的结果。在贪婪算法中已做出的抉择是不可更改的,而动态规划需考察一个最优抉择序列是否包含最优抉择子序列。称无论第一次选择是什么,接下来的选择一定是当前状态下的最优选择为最优原则(principal of optimality)。 用动态规划求解的步骤如下 证实最优原则适用,否则不能使用动态规划; 建立动态规划递归方程(dynamic-program

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked article and compare it with the issue body to determine whether this is a draft, correction, or publication request. The issue names no repository file, target section, or acceptance criteria, so clarify the intended content change and where it should appear before starting.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.