This commit is contained in:
krahets
2026-03-29 02:26:07 +08:00
parent 7dd4d5d9b4
commit 9e8c0cb36c
1209 changed files with 579306 additions and 4338 deletions
@@ -30,6 +30,8 @@
<link rel="alternate" href="/ja/chapter_dynamic_programming/dp_problem_features/" hreflang="ja">
<link rel="alternate" href="/ru/chapter_dynamic_programming/dp_problem_features/" hreflang="ru">
<link rel="icon" href="../../assets/images/favicon.png">
@@ -37,7 +39,7 @@
<title>14.2   DP問題の特性 - Hello アルゴリズム</title>
<title>14.2   DP 問題の特性 - Hello アルゴリズム</title>
@@ -154,7 +156,7 @@
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
</span>
</div>
@@ -224,6 +226,12 @@
</a>
</li>
<li class="md-select__item">
<a href="/ru/chapter_dynamic_programming/dp_problem_features/" hreflang="ru" class="md-select__link">
Русский
</a>
</li>
</ul>
</div>
</div>
@@ -371,7 +379,7 @@
<span class="md-ellipsis">
はじめに
@@ -388,7 +396,7 @@
<span class="md-nav__icon md-icon"></span>
はじめに
</label>
@@ -487,7 +495,7 @@
<span class="md-ellipsis">
0.1 &nbsp; この本について
0.1 &nbsp;について
@@ -604,7 +612,7 @@
<span class="md-ellipsis">
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
@@ -626,7 +634,7 @@
<span class="md-nav__icon md-icon"></span>
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
</label>
@@ -813,7 +821,7 @@
<span class="md-ellipsis">
2.1 &nbsp; アルゴリズム効率評価
2.1 &nbsp; アルゴリズム効率評価
@@ -1090,7 +1098,7 @@
<span class="md-ellipsis">
3.3 &nbsp; 数値エンコーディング *
3.3 &nbsp; 数値の符号化 *
@@ -1118,7 +1126,7 @@
<span class="md-ellipsis">
3.4 &nbsp; 文字エンコーディング *
3.4 &nbsp; 文字の符号化 *
@@ -1916,7 +1924,7 @@
<span class="md-ellipsis">
7.3 &nbsp; 木の配列表現
7.3 &nbsp; 二分木の配列表現
@@ -2135,7 +2143,7 @@
<span class="md-ellipsis">
8.2 &nbsp; ヒープ構築
8.2 &nbsp; ヒープ構築操作
@@ -2163,7 +2171,7 @@
<span class="md-ellipsis">
8.3 &nbsp; Top-k問題
8.3 &nbsp; Top-k 問題
@@ -2521,7 +2529,7 @@
<span class="md-ellipsis">
10.2 &nbsp; 二分探索挿入点
10.2 &nbsp; 二分探索挿入点
@@ -2605,7 +2613,7 @@
<span class="md-ellipsis">
10.5 &nbsp; 探索アルゴリズム再考
10.5 &nbsp; 探索アルゴリズムの再認識
@@ -3199,7 +3207,7 @@
<span class="md-ellipsis">
12.3 &nbsp; 二分木構築問題
12.3 &nbsp;構築問題
@@ -3392,7 +3400,7 @@
<span class="md-ellipsis">
13.2 &nbsp; 順列問題
13.2 &nbsp; 順列問題
@@ -3547,7 +3555,7 @@
<span class="md-ellipsis">
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
@@ -3569,7 +3577,7 @@
<span class="md-nav__icon md-icon"></span>
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
</label>
@@ -3591,7 +3599,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3628,7 +3636,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3646,7 +3654,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3716,7 +3724,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3772,7 +3780,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -4021,7 +4029,7 @@
<span class="md-ellipsis">
15.4 &nbsp; 最大積切断問題
15.4 &nbsp; 最大積分割問題
@@ -4182,7 +4190,7 @@
<span class="md-ellipsis">
16.2 &nbsp; 一緒に創作に参加
16.2 &nbsp; 一緒に創作に参加する
@@ -4763,7 +4771,7 @@ aria-label="フッター"
<a
href="../intro_to_dynamic_programming/"
class="md-footer__link md-footer__link--prev"
aria-label="前: 14.1 &amp;nbsp; 動的プログラミング入門"
aria-label="前: 14.1 &amp;nbsp; 動的計画法の初歩"
rel="prev"
>
<div class="md-footer__button md-icon">
@@ -4775,7 +4783,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
</div>
</div>
</a>
@@ -4787,7 +4795,7 @@ aria-label="フッター"
<a
href="../dp_solution_pipeline/"
class="md-footer__link md-footer__link--next"
aria-label="次: 14.3 &amp;nbsp; DP問題解決アプローチ"
aria-label="次: 14.3 &amp;nbsp; DP の解法の考え方"
rel="next"
>
<div class="md-footer__title">
@@ -4795,7 +4803,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
</div>
</div>
<div class="md-footer__button md-icon">
@@ -4809,11 +4817,17 @@ aria-label="フッター"
<!-- Comment system -->
<h5 align="center" id="__comments"></h5>
<!-- Check-in button above comments -->
<h5 align="center" id="__comments">ご意見、ご質問、ご提案があればぜひコメントしてください</h5>
<!-- Insert generated snippet here -->
<script
<script
src="https://giscus.app/client.js"
data-repo="krahets/hello-algo"
data-repo-id="R_kgDOIXtSqw"
@@ -4822,12 +4836,10 @@ aria-label="フッター"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-emit-metadata="1"
data-input-position="top"
data-theme="light"
data-lang="
"
data-lang="ja"
crossorigin="anonymous"
async
>
@@ -4887,7 +4899,7 @@ aria-label="フッター"
<nav class="md-footer__inner md-grid" aria-label="フッター" >
<a href="../intro_to_dynamic_programming/" class="md-footer__link md-footer__link--prev" aria-label="前: 14.1 &amp;nbsp; 動的プログラミング入門">
<a href="../intro_to_dynamic_programming/" class="md-footer__link md-footer__link--prev" aria-label="前: 14.1 &amp;nbsp; 動的計画法の初歩">
<div class="md-footer__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
@@ -4897,20 +4909,20 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
</div>
</div>
</a>
<a href="../dp_solution_pipeline/" class="md-footer__link md-footer__link--next" aria-label="次: 14.3 &amp;nbsp; DP問題解決アプローチ">
<a href="../dp_solution_pipeline/" class="md-footer__link md-footer__link--next" aria-label="次: 14.3 &amp;nbsp; DP の解法の考え方">
<div class="md-footer__title">
<span class="md-footer__direction">
</span>
<div class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
</div>
</div>
<div class="md-footer__button md-icon">
@@ -30,6 +30,8 @@
<link rel="alternate" href="/ja/chapter_dynamic_programming/dp_solution_pipeline/" hreflang="ja">
<link rel="alternate" href="/ru/chapter_dynamic_programming/dp_solution_pipeline/" hreflang="ru">
<link rel="icon" href="../../assets/images/favicon.png">
@@ -37,7 +39,7 @@
<title>14.3   DP問題解決アプローチ - Hello アルゴリズム</title>
<title>14.3   DP の解法の考え方 - Hello アルゴリズム</title>
@@ -154,7 +156,7 @@
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
</span>
</div>
@@ -224,6 +226,12 @@
</a>
</li>
<li class="md-select__item">
<a href="/ru/chapter_dynamic_programming/dp_solution_pipeline/" hreflang="ru" class="md-select__link">
Русский
</a>
</li>
</ul>
</div>
</div>
@@ -371,7 +379,7 @@
<span class="md-ellipsis">
はじめに
@@ -388,7 +396,7 @@
<span class="md-nav__icon md-icon"></span>
はじめに
</label>
@@ -487,7 +495,7 @@
<span class="md-ellipsis">
0.1 &nbsp; この本について
0.1 &nbsp;について
@@ -604,7 +612,7 @@
<span class="md-ellipsis">
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
@@ -626,7 +634,7 @@
<span class="md-nav__icon md-icon"></span>
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
</label>
@@ -813,7 +821,7 @@
<span class="md-ellipsis">
2.1 &nbsp; アルゴリズム効率評価
2.1 &nbsp; アルゴリズム効率評価
@@ -1090,7 +1098,7 @@
<span class="md-ellipsis">
3.3 &nbsp; 数値エンコーディング *
3.3 &nbsp; 数値の符号化 *
@@ -1118,7 +1126,7 @@
<span class="md-ellipsis">
3.4 &nbsp; 文字エンコーディング *
3.4 &nbsp; 文字の符号化 *
@@ -1916,7 +1924,7 @@
<span class="md-ellipsis">
7.3 &nbsp; 木の配列表現
7.3 &nbsp; 二分木の配列表現
@@ -2135,7 +2143,7 @@
<span class="md-ellipsis">
8.2 &nbsp; ヒープ構築
8.2 &nbsp; ヒープ構築操作
@@ -2163,7 +2171,7 @@
<span class="md-ellipsis">
8.3 &nbsp; Top-k問題
8.3 &nbsp; Top-k 問題
@@ -2521,7 +2529,7 @@
<span class="md-ellipsis">
10.2 &nbsp; 二分探索挿入点
10.2 &nbsp; 二分探索挿入点
@@ -2605,7 +2613,7 @@
<span class="md-ellipsis">
10.5 &nbsp; 探索アルゴリズム再考
10.5 &nbsp; 探索アルゴリズムの再認識
@@ -3199,7 +3207,7 @@
<span class="md-ellipsis">
12.3 &nbsp; 二分木構築問題
12.3 &nbsp;構築問題
@@ -3392,7 +3400,7 @@
<span class="md-ellipsis">
13.2 &nbsp; 順列問題
13.2 &nbsp; 順列問題
@@ -3547,7 +3555,7 @@
<span class="md-ellipsis">
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
@@ -3569,7 +3577,7 @@
<span class="md-nav__icon md-icon"></span>
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
</label>
@@ -3591,7 +3599,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3619,7 +3627,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3656,7 +3664,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3674,7 +3682,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3822,7 +3830,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -4071,7 +4079,7 @@
<span class="md-ellipsis">
15.4 &nbsp; 最大積切断問題
15.4 &nbsp; 最大積分割問題
@@ -4232,7 +4240,7 @@
<span class="md-ellipsis">
16.2 &nbsp; 一緒に創作に参加
16.2 &nbsp; 一緒に創作に参加する
@@ -5042,7 +5050,7 @@ aria-label="フッター"
<a
href="../dp_problem_features/"
class="md-footer__link md-footer__link--prev"
aria-label="前: 14.2 &amp;nbsp; DP問題の特性"
aria-label="前: 14.2 &amp;nbsp; DP 問題の特性"
rel="prev"
>
<div class="md-footer__button md-icon">
@@ -5054,7 +5062,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
</div>
</div>
</a>
@@ -5088,11 +5096,17 @@ aria-label="フッター"
<!-- Comment system -->
<h5 align="center" id="__comments"></h5>
<!-- Check-in button above comments -->
<h5 align="center" id="__comments">ご意見、ご質問、ご提案があればぜひコメントしてください</h5>
<!-- Insert generated snippet here -->
<script
<script
src="https://giscus.app/client.js"
data-repo="krahets/hello-algo"
data-repo-id="R_kgDOIXtSqw"
@@ -5101,12 +5115,10 @@ aria-label="フッター"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-emit-metadata="1"
data-input-position="top"
data-theme="light"
data-lang="
"
data-lang="ja"
crossorigin="anonymous"
async
>
@@ -5166,7 +5178,7 @@ aria-label="フッター"
<nav class="md-footer__inner md-grid" aria-label="フッター" >
<a href="../dp_problem_features/" class="md-footer__link md-footer__link--prev" aria-label="前: 14.2 &amp;nbsp; DP問題の特性">
<a href="../dp_problem_features/" class="md-footer__link md-footer__link--prev" aria-label="前: 14.2 &amp;nbsp; DP 問題の特性">
<div class="md-footer__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
@@ -5176,7 +5188,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
</div>
</div>
</a>
@@ -30,6 +30,8 @@
<link rel="alternate" href="/ja/chapter_dynamic_programming/edit_distance_problem/" hreflang="ja">
<link rel="alternate" href="/ru/chapter_dynamic_programming/edit_distance_problem/" hreflang="ru">
<link rel="icon" href="../../assets/images/favicon.png">
@@ -224,6 +226,12 @@
</a>
</li>
<li class="md-select__item">
<a href="/ru/chapter_dynamic_programming/edit_distance_problem/" hreflang="ru" class="md-select__link">
Русский
</a>
</li>
</ul>
</div>
</div>
@@ -371,7 +379,7 @@
<span class="md-ellipsis">
はじめに
@@ -388,7 +396,7 @@
<span class="md-nav__icon md-icon"></span>
はじめに
</label>
@@ -487,7 +495,7 @@
<span class="md-ellipsis">
0.1 &nbsp; この本について
0.1 &nbsp;について
@@ -604,7 +612,7 @@
<span class="md-ellipsis">
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
@@ -626,7 +634,7 @@
<span class="md-nav__icon md-icon"></span>
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
</label>
@@ -813,7 +821,7 @@
<span class="md-ellipsis">
2.1 &nbsp; アルゴリズム効率評価
2.1 &nbsp; アルゴリズム効率評価
@@ -1090,7 +1098,7 @@
<span class="md-ellipsis">
3.3 &nbsp; 数値エンコーディング *
3.3 &nbsp; 数値の符号化 *
@@ -1118,7 +1126,7 @@
<span class="md-ellipsis">
3.4 &nbsp; 文字エンコーディング *
3.4 &nbsp; 文字の符号化 *
@@ -1916,7 +1924,7 @@
<span class="md-ellipsis">
7.3 &nbsp; 木の配列表現
7.3 &nbsp; 二分木の配列表現
@@ -2135,7 +2143,7 @@
<span class="md-ellipsis">
8.2 &nbsp; ヒープ構築
8.2 &nbsp; ヒープ構築操作
@@ -2163,7 +2171,7 @@
<span class="md-ellipsis">
8.3 &nbsp; Top-k問題
8.3 &nbsp; Top-k 問題
@@ -2521,7 +2529,7 @@
<span class="md-ellipsis">
10.2 &nbsp; 二分探索挿入点
10.2 &nbsp; 二分探索挿入点
@@ -2605,7 +2613,7 @@
<span class="md-ellipsis">
10.5 &nbsp; 探索アルゴリズム再考
10.5 &nbsp; 探索アルゴリズムの再認識
@@ -3199,7 +3207,7 @@
<span class="md-ellipsis">
12.3 &nbsp; 二分木構築問題
12.3 &nbsp;構築問題
@@ -3392,7 +3400,7 @@
<span class="md-ellipsis">
13.2 &nbsp; 順列問題
13.2 &nbsp; 順列問題
@@ -3547,7 +3555,7 @@
<span class="md-ellipsis">
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
@@ -3569,7 +3577,7 @@
<span class="md-nav__icon md-icon"></span>
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
</label>
@@ -3591,7 +3599,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3619,7 +3627,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3647,7 +3655,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3703,7 +3711,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -4032,7 +4040,7 @@
<span class="md-ellipsis">
15.4 &nbsp; 最大積切断問題
15.4 &nbsp; 最大積分割問題
@@ -4193,7 +4201,7 @@
<span class="md-ellipsis">
16.2 &nbsp; 一緒に創作に参加
16.2 &nbsp; 一緒に創作に参加する
@@ -4758,7 +4766,7 @@ aria-label="フッター"
<a
href="../unbounded_knapsack_problem/"
class="md-footer__link md-footer__link--prev"
aria-label="前: 14.5 &amp;nbsp; 無制限ナップサック問題"
aria-label="前: 14.5 &amp;nbsp; 完全ナップサック問題"
rel="prev"
>
<div class="md-footer__button md-icon">
@@ -4770,7 +4778,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
</div>
</div>
</a>
@@ -4804,11 +4812,17 @@ aria-label="フッター"
<!-- Comment system -->
<h5 align="center" id="__comments"></h5>
<!-- Check-in button above comments -->
<h5 align="center" id="__comments">ご意見、ご質問、ご提案があればぜひコメントしてください</h5>
<!-- Insert generated snippet here -->
<script
<script
src="https://giscus.app/client.js"
data-repo="krahets/hello-algo"
data-repo-id="R_kgDOIXtSqw"
@@ -4817,12 +4831,10 @@ aria-label="フッター"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-emit-metadata="1"
data-input-position="top"
data-theme="light"
data-lang="
"
data-lang="ja"
crossorigin="anonymous"
async
>
@@ -4882,7 +4894,7 @@ aria-label="フッター"
<nav class="md-footer__inner md-grid" aria-label="フッター" >
<a href="../unbounded_knapsack_problem/" class="md-footer__link md-footer__link--prev" aria-label="前: 14.5 &amp;nbsp; 無制限ナップサック問題">
<a href="../unbounded_knapsack_problem/" class="md-footer__link md-footer__link--prev" aria-label="前: 14.5 &amp;nbsp; 完全ナップサック問題">
<div class="md-footer__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
@@ -4892,7 +4904,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
</div>
</div>
</a>
+49 -37
View File
@@ -30,6 +30,8 @@
<link rel="alternate" href="/ja/chapter_dynamic_programming/" hreflang="ja">
<link rel="alternate" href="/ru/chapter_dynamic_programming/" hreflang="ru">
<link rel="icon" href="../assets/images/favicon.png">
@@ -224,6 +226,12 @@
</a>
</li>
<li class="md-select__item">
<a href="/ru/chapter_dynamic_programming/" hreflang="ru" class="md-select__link">
Русский
</a>
</li>
</ul>
</div>
</div>
@@ -371,7 +379,7 @@
<span class="md-ellipsis">
はじめに
@@ -388,7 +396,7 @@
<span class="md-nav__icon md-icon"></span>
はじめに
</label>
@@ -487,7 +495,7 @@
<span class="md-ellipsis">
0.1 &nbsp; この本について
0.1 &nbsp;について
@@ -604,7 +612,7 @@
<span class="md-ellipsis">
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
@@ -626,7 +634,7 @@
<span class="md-nav__icon md-icon"></span>
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
</label>
@@ -813,7 +821,7 @@
<span class="md-ellipsis">
2.1 &nbsp; アルゴリズム効率評価
2.1 &nbsp; アルゴリズム効率評価
@@ -1090,7 +1098,7 @@
<span class="md-ellipsis">
3.3 &nbsp; 数値エンコーディング *
3.3 &nbsp; 数値の符号化 *
@@ -1118,7 +1126,7 @@
<span class="md-ellipsis">
3.4 &nbsp; 文字エンコーディング *
3.4 &nbsp; 文字の符号化 *
@@ -1916,7 +1924,7 @@
<span class="md-ellipsis">
7.3 &nbsp; 木の配列表現
7.3 &nbsp; 二分木の配列表現
@@ -2135,7 +2143,7 @@
<span class="md-ellipsis">
8.2 &nbsp; ヒープ構築
8.2 &nbsp; ヒープ構築操作
@@ -2163,7 +2171,7 @@
<span class="md-ellipsis">
8.3 &nbsp; Top-k問題
8.3 &nbsp; Top-k 問題
@@ -2521,7 +2529,7 @@
<span class="md-ellipsis">
10.2 &nbsp; 二分探索挿入点
10.2 &nbsp; 二分探索挿入点
@@ -2605,7 +2613,7 @@
<span class="md-ellipsis">
10.5 &nbsp; 探索アルゴリズム再考
10.5 &nbsp; 探索アルゴリズムの再認識
@@ -3199,7 +3207,7 @@
<span class="md-ellipsis">
12.3 &nbsp; 二分木構築問題
12.3 &nbsp;構築問題
@@ -3392,7 +3400,7 @@
<span class="md-ellipsis">
13.2 &nbsp; 順列問題
13.2 &nbsp; 順列問題
@@ -3547,7 +3555,7 @@
<span class="md-ellipsis">
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
@@ -3569,7 +3577,7 @@
<span class="md-nav__icon md-icon"></span>
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
</label>
@@ -3591,7 +3599,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3619,7 +3627,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3647,7 +3655,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3703,7 +3711,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -3952,7 +3960,7 @@
<span class="md-ellipsis">
15.4 &nbsp; 最大積切断問題
15.4 &nbsp; 最大積分割問題
@@ -4113,7 +4121,7 @@
<span class="md-ellipsis">
16.2 &nbsp; 一緒に創作に参加
16.2 &nbsp; 一緒に創作に参加する
@@ -4311,11 +4319,11 @@
</div>
<h2 id="_1">章の内容<a class="headerlink" href="#_1" title="Permanent link">&para;</a></h2>
<ul>
<li><a href="intro_to_dynamic_programming/">14.1 &nbsp; 動的プログラミング入門</a></li>
<li><a href="dp_problem_features/">14.2 &nbsp; DP問題の特性</a></li>
<li><a href="dp_solution_pipeline/">14.3 &nbsp; DP問題解決アプローチ</a></li>
<li><a href="intro_to_dynamic_programming/">14.1 &nbsp; 動的計画法の初歩</a></li>
<li><a href="dp_problem_features/">14.2 &nbsp; DP 問題の特性</a></li>
<li><a href="dp_solution_pipeline/">14.3 &nbsp; DP の解法の考え方</a></li>
<li><a href="knapsack_problem/">14.4 &nbsp; 0-1ナップサック問題</a></li>
<li><a href="unbounded_knapsack_problem/">14.5 &nbsp; 無制限ナップサック問題</a></li>
<li><a href="unbounded_knapsack_problem/">14.5 &nbsp; 完全ナップサック問題</a></li>
<li><a href="edit_distance_problem/">14.6 &nbsp; 編集距離問題</a></li>
<li><a href="summary/">14.7 &nbsp; まとめ</a></li>
</ul>
@@ -4365,7 +4373,7 @@ aria-label="フッター"
<a
href="intro_to_dynamic_programming/"
class="md-footer__link md-footer__link--next"
aria-label="次: 14.1 &amp;nbsp; 動的プログラミング入門"
aria-label="次: 14.1 &amp;nbsp; 動的計画法の初歩"
rel="next"
>
<div class="md-footer__title">
@@ -4373,7 +4381,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
</div>
</div>
<div class="md-footer__button md-icon">
@@ -4387,11 +4395,17 @@ aria-label="フッター"
<!-- Comment system -->
<h5 align="center" id="__comments"></h5>
<!-- Check-in button above comments -->
<h5 align="center" id="__comments">ご意見、ご質問、ご提案があればぜひコメントしてください</h5>
<!-- Insert generated snippet here -->
<script
<script
src="https://giscus.app/client.js"
data-repo="krahets/hello-algo"
data-repo-id="R_kgDOIXtSqw"
@@ -4400,12 +4414,10 @@ aria-label="フッター"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-emit-metadata="1"
data-input-position="top"
data-theme="light"
data-lang="
"
data-lang="ja"
crossorigin="anonymous"
async
>
@@ -4482,13 +4494,13 @@ aria-label="フッター"
<a href="intro_to_dynamic_programming/" class="md-footer__link md-footer__link--next" aria-label="次: 14.1 &amp;nbsp; 動的プログラミング入門">
<a href="intro_to_dynamic_programming/" class="md-footer__link md-footer__link--next" aria-label="次: 14.1 &amp;nbsp; 動的計画法の初歩">
<div class="md-footer__title">
<span class="md-footer__direction">
</span>
<div class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
</div>
</div>
<div class="md-footer__button md-icon">
@@ -30,6 +30,8 @@
<link rel="alternate" href="/ja/chapter_dynamic_programming/intro_to_dynamic_programming/" hreflang="ja">
<link rel="alternate" href="/ru/chapter_dynamic_programming/intro_to_dynamic_programming/" hreflang="ru">
<link rel="icon" href="../../assets/images/favicon.png">
@@ -37,7 +39,7 @@
<title>14.1   動的プログラミング入門 - Hello アルゴリズム</title>
<title>14.1   動的計画法の初歩 - Hello アルゴリズム</title>
@@ -154,7 +156,7 @@
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
</span>
</div>
@@ -224,6 +226,12 @@
</a>
</li>
<li class="md-select__item">
<a href="/ru/chapter_dynamic_programming/intro_to_dynamic_programming/" hreflang="ru" class="md-select__link">
Русский
</a>
</li>
</ul>
</div>
</div>
@@ -371,7 +379,7 @@
<span class="md-ellipsis">
はじめに
@@ -388,7 +396,7 @@
<span class="md-nav__icon md-icon"></span>
はじめに
</label>
@@ -487,7 +495,7 @@
<span class="md-ellipsis">
0.1 &nbsp; この本について
0.1 &nbsp;について
@@ -604,7 +612,7 @@
<span class="md-ellipsis">
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
@@ -626,7 +634,7 @@
<span class="md-nav__icon md-icon"></span>
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
</label>
@@ -813,7 +821,7 @@
<span class="md-ellipsis">
2.1 &nbsp; アルゴリズム効率評価
2.1 &nbsp; アルゴリズム効率評価
@@ -1090,7 +1098,7 @@
<span class="md-ellipsis">
3.3 &nbsp; 数値エンコーディング *
3.3 &nbsp; 数値の符号化 *
@@ -1118,7 +1126,7 @@
<span class="md-ellipsis">
3.4 &nbsp; 文字エンコーディング *
3.4 &nbsp; 文字の符号化 *
@@ -1916,7 +1924,7 @@
<span class="md-ellipsis">
7.3 &nbsp; 木の配列表現
7.3 &nbsp; 二分木の配列表現
@@ -2135,7 +2143,7 @@
<span class="md-ellipsis">
8.2 &nbsp; ヒープ構築
8.2 &nbsp; ヒープ構築操作
@@ -2163,7 +2171,7 @@
<span class="md-ellipsis">
8.3 &nbsp; Top-k問題
8.3 &nbsp; Top-k 問題
@@ -2521,7 +2529,7 @@
<span class="md-ellipsis">
10.2 &nbsp; 二分探索挿入点
10.2 &nbsp; 二分探索挿入点
@@ -2605,7 +2613,7 @@
<span class="md-ellipsis">
10.5 &nbsp; 探索アルゴリズム再考
10.5 &nbsp; 探索アルゴリズムの再認識
@@ -3199,7 +3207,7 @@
<span class="md-ellipsis">
12.3 &nbsp; 二分木構築問題
12.3 &nbsp;構築問題
@@ -3392,7 +3400,7 @@
<span class="md-ellipsis">
13.2 &nbsp; 順列問題
13.2 &nbsp; 順列問題
@@ -3547,7 +3555,7 @@
<span class="md-ellipsis">
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
@@ -3569,7 +3577,7 @@
<span class="md-nav__icon md-icon"></span>
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
</label>
@@ -3600,7 +3608,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3618,7 +3626,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3710,7 +3718,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3738,7 +3746,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3794,7 +3802,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -4043,7 +4051,7 @@
<span class="md-ellipsis">
15.4 &nbsp; 最大積切断問題
15.4 &nbsp; 最大積分割問題
@@ -4204,7 +4212,7 @@
<span class="md-ellipsis">
16.2 &nbsp; 一緒に創作に参加
16.2 &nbsp; 一緒に創作に参加する
@@ -5108,7 +5116,7 @@ aria-label="フッター"
<a
href="../dp_problem_features/"
class="md-footer__link md-footer__link--next"
aria-label="次: 14.2 &amp;nbsp; DP問題の特性"
aria-label="次: 14.2 &amp;nbsp; DP 問題の特性"
rel="next"
>
<div class="md-footer__title">
@@ -5116,7 +5124,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
</div>
</div>
<div class="md-footer__button md-icon">
@@ -5130,11 +5138,17 @@ aria-label="フッター"
<!-- Comment system -->
<h5 align="center" id="__comments"></h5>
<!-- Check-in button above comments -->
<h5 align="center" id="__comments">ご意見、ご質問、ご提案があればぜひコメントしてください</h5>
<!-- Insert generated snippet here -->
<script
<script
src="https://giscus.app/client.js"
data-repo="krahets/hello-algo"
data-repo-id="R_kgDOIXtSqw"
@@ -5143,12 +5157,10 @@ aria-label="フッター"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-emit-metadata="1"
data-input-position="top"
data-theme="light"
data-lang="
"
data-lang="ja"
crossorigin="anonymous"
async
>
@@ -5225,13 +5237,13 @@ aria-label="フッター"
<a href="../dp_problem_features/" class="md-footer__link md-footer__link--next" aria-label="次: 14.2 &amp;nbsp; DP問題の特性">
<a href="../dp_problem_features/" class="md-footer__link md-footer__link--next" aria-label="次: 14.2 &amp;nbsp; DP 問題の特性">
<div class="md-footer__title">
<span class="md-footer__direction">
</span>
<div class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
</div>
</div>
<div class="md-footer__button md-icon">
@@ -30,6 +30,8 @@
<link rel="alternate" href="/ja/chapter_dynamic_programming/knapsack_problem/" hreflang="ja">
<link rel="alternate" href="/ru/chapter_dynamic_programming/knapsack_problem/" hreflang="ru">
<link rel="icon" href="../../assets/images/favicon.png">
@@ -224,6 +226,12 @@
</a>
</li>
<li class="md-select__item">
<a href="/ru/chapter_dynamic_programming/knapsack_problem/" hreflang="ru" class="md-select__link">
Русский
</a>
</li>
</ul>
</div>
</div>
@@ -371,7 +379,7 @@
<span class="md-ellipsis">
はじめに
@@ -388,7 +396,7 @@
<span class="md-nav__icon md-icon"></span>
はじめに
</label>
@@ -487,7 +495,7 @@
<span class="md-ellipsis">
0.1 &nbsp; この本について
0.1 &nbsp;について
@@ -604,7 +612,7 @@
<span class="md-ellipsis">
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
@@ -626,7 +634,7 @@
<span class="md-nav__icon md-icon"></span>
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
</label>
@@ -813,7 +821,7 @@
<span class="md-ellipsis">
2.1 &nbsp; アルゴリズム効率評価
2.1 &nbsp; アルゴリズム効率評価
@@ -1090,7 +1098,7 @@
<span class="md-ellipsis">
3.3 &nbsp; 数値エンコーディング *
3.3 &nbsp; 数値の符号化 *
@@ -1118,7 +1126,7 @@
<span class="md-ellipsis">
3.4 &nbsp; 文字エンコーディング *
3.4 &nbsp; 文字の符号化 *
@@ -1916,7 +1924,7 @@
<span class="md-ellipsis">
7.3 &nbsp; 木の配列表現
7.3 &nbsp; 二分木の配列表現
@@ -2135,7 +2143,7 @@
<span class="md-ellipsis">
8.2 &nbsp; ヒープ構築
8.2 &nbsp; ヒープ構築操作
@@ -2163,7 +2171,7 @@
<span class="md-ellipsis">
8.3 &nbsp; Top-k問題
8.3 &nbsp; Top-k 問題
@@ -2521,7 +2529,7 @@
<span class="md-ellipsis">
10.2 &nbsp; 二分探索挿入点
10.2 &nbsp; 二分探索挿入点
@@ -2605,7 +2613,7 @@
<span class="md-ellipsis">
10.5 &nbsp; 探索アルゴリズム再考
10.5 &nbsp; 探索アルゴリズムの再認識
@@ -3199,7 +3207,7 @@
<span class="md-ellipsis">
12.3 &nbsp; 二分木構築問題
12.3 &nbsp;構築問題
@@ -3392,7 +3400,7 @@
<span class="md-ellipsis">
13.2 &nbsp; 順列問題
13.2 &nbsp; 順列問題
@@ -3547,7 +3555,7 @@
<span class="md-ellipsis">
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
@@ -3569,7 +3577,7 @@
<span class="md-nav__icon md-icon"></span>
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
</label>
@@ -3591,7 +3599,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3619,7 +3627,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3647,7 +3655,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3794,7 +3802,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -4043,7 +4051,7 @@
<span class="md-ellipsis">
15.4 &nbsp; 最大積切断問題
15.4 &nbsp; 最大積分割問題
@@ -4204,7 +4212,7 @@
<span class="md-ellipsis">
16.2 &nbsp; 一緒に創作に参加
16.2 &nbsp; 一緒に創作に参加する
@@ -4985,7 +4993,7 @@ aria-label="フッター"
<a
href="../dp_solution_pipeline/"
class="md-footer__link md-footer__link--prev"
aria-label="前: 14.3 &amp;nbsp; DP問題解決アプローチ"
aria-label="前: 14.3 &amp;nbsp; DP の解法の考え方"
rel="prev"
>
<div class="md-footer__button md-icon">
@@ -4997,7 +5005,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
</div>
</div>
</a>
@@ -5009,7 +5017,7 @@ aria-label="フッター"
<a
href="../unbounded_knapsack_problem/"
class="md-footer__link md-footer__link--next"
aria-label="次: 14.5 &amp;nbsp; 無制限ナップサック問題"
aria-label="次: 14.5 &amp;nbsp; 完全ナップサック問題"
rel="next"
>
<div class="md-footer__title">
@@ -5017,7 +5025,7 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
</div>
</div>
<div class="md-footer__button md-icon">
@@ -5031,11 +5039,17 @@ aria-label="フッター"
<!-- Comment system -->
<h5 align="center" id="__comments"></h5>
<!-- Check-in button above comments -->
<h5 align="center" id="__comments">ご意見、ご質問、ご提案があればぜひコメントしてください</h5>
<!-- Insert generated snippet here -->
<script
<script
src="https://giscus.app/client.js"
data-repo="krahets/hello-algo"
data-repo-id="R_kgDOIXtSqw"
@@ -5044,12 +5058,10 @@ aria-label="フッター"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-emit-metadata="1"
data-input-position="top"
data-theme="light"
data-lang="
"
data-lang="ja"
crossorigin="anonymous"
async
>
@@ -5109,7 +5121,7 @@ aria-label="フッター"
<nav class="md-footer__inner md-grid" aria-label="フッター" >
<a href="../dp_solution_pipeline/" class="md-footer__link md-footer__link--prev" aria-label="前: 14.3 &amp;nbsp; DP問題解決アプローチ">
<a href="../dp_solution_pipeline/" class="md-footer__link md-footer__link--prev" aria-label="前: 14.3 &amp;nbsp; DP の解法の考え方">
<div class="md-footer__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
@@ -5119,20 +5131,20 @@ aria-label="フッター"
</span>
<div class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
</div>
</div>
</a>
<a href="../unbounded_knapsack_problem/" class="md-footer__link md-footer__link--next" aria-label="次: 14.5 &amp;nbsp; 無制限ナップサック問題">
<a href="../unbounded_knapsack_problem/" class="md-footer__link md-footer__link--next" aria-label="次: 14.5 &amp;nbsp; 完全ナップサック問題">
<div class="md-footer__title">
<span class="md-footer__direction">
</span>
<div class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
</div>
</div>
<div class="md-footer__button md-icon">
@@ -30,6 +30,8 @@
<link rel="alternate" href="/ja/chapter_dynamic_programming/summary/" hreflang="ja">
<link rel="alternate" href="/ru/chapter_dynamic_programming/summary/" hreflang="ru">
<link rel="icon" href="../../assets/images/favicon.png">
@@ -224,6 +226,12 @@
</a>
</li>
<li class="md-select__item">
<a href="/ru/chapter_dynamic_programming/summary/" hreflang="ru" class="md-select__link">
Русский
</a>
</li>
</ul>
</div>
</div>
@@ -371,7 +379,7 @@
<span class="md-ellipsis">
はじめに
@@ -388,7 +396,7 @@
<span class="md-nav__icon md-icon"></span>
はじめに
</label>
@@ -487,7 +495,7 @@
<span class="md-ellipsis">
0.1 &nbsp; この本について
0.1 &nbsp;について
@@ -604,7 +612,7 @@
<span class="md-ellipsis">
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
@@ -626,7 +634,7 @@
<span class="md-nav__icon md-icon"></span>
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
</label>
@@ -813,7 +821,7 @@
<span class="md-ellipsis">
2.1 &nbsp; アルゴリズム効率評価
2.1 &nbsp; アルゴリズム効率評価
@@ -1090,7 +1098,7 @@
<span class="md-ellipsis">
3.3 &nbsp; 数値エンコーディング *
3.3 &nbsp; 数値の符号化 *
@@ -1118,7 +1126,7 @@
<span class="md-ellipsis">
3.4 &nbsp; 文字エンコーディング *
3.4 &nbsp; 文字の符号化 *
@@ -1916,7 +1924,7 @@
<span class="md-ellipsis">
7.3 &nbsp; 木の配列表現
7.3 &nbsp; 二分木の配列表現
@@ -2135,7 +2143,7 @@
<span class="md-ellipsis">
8.2 &nbsp; ヒープ構築
8.2 &nbsp; ヒープ構築操作
@@ -2163,7 +2171,7 @@
<span class="md-ellipsis">
8.3 &nbsp; Top-k問題
8.3 &nbsp; Top-k 問題
@@ -2521,7 +2529,7 @@
<span class="md-ellipsis">
10.2 &nbsp; 二分探索挿入点
10.2 &nbsp; 二分探索挿入点
@@ -2605,7 +2613,7 @@
<span class="md-ellipsis">
10.5 &nbsp; 探索アルゴリズム再考
10.5 &nbsp; 探索アルゴリズムの再認識
@@ -3199,7 +3207,7 @@
<span class="md-ellipsis">
12.3 &nbsp; 二分木構築問題
12.3 &nbsp;構築問題
@@ -3392,7 +3400,7 @@
<span class="md-ellipsis">
13.2 &nbsp; 順列問題
13.2 &nbsp; 順列問題
@@ -3547,7 +3555,7 @@
<span class="md-ellipsis">
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
@@ -3569,7 +3577,7 @@
<span class="md-nav__icon md-icon"></span>
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
</label>
@@ -3591,7 +3599,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3619,7 +3627,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3647,7 +3655,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3703,7 +3711,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -3962,7 +3970,7 @@
<span class="md-ellipsis">
15.4 &nbsp; 最大積切断問題
15.4 &nbsp; 最大積分割問題
@@ -4123,7 +4131,7 @@
<span class="md-ellipsis">
16.2 &nbsp; 一緒に創作に参加
16.2 &nbsp; 一緒に創作に参加する
@@ -4385,11 +4393,17 @@ aria-label="フッター"
<!-- Comment system -->
<h5 align="center" id="__comments"></h5>
<!-- Check-in button above comments -->
<h5 align="center" id="__comments">ご意見、ご質問、ご提案があればぜひコメントしてください</h5>
<!-- Insert generated snippet here -->
<script
<script
src="https://giscus.app/client.js"
data-repo="krahets/hello-algo"
data-repo-id="R_kgDOIXtSqw"
@@ -4398,12 +4412,10 @@ aria-label="フッター"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-emit-metadata="1"
data-input-position="top"
data-theme="light"
data-lang="
"
data-lang="ja"
crossorigin="anonymous"
async
>
@@ -30,6 +30,8 @@
<link rel="alternate" href="/ja/chapter_dynamic_programming/unbounded_knapsack_problem/" hreflang="ja">
<link rel="alternate" href="/ru/chapter_dynamic_programming/unbounded_knapsack_problem/" hreflang="ru">
<link rel="icon" href="../../assets/images/favicon.png">
@@ -37,7 +39,7 @@
<title>14.5   無制限ナップサック問題 - Hello アルゴリズム</title>
<title>14.5   完全ナップサック問題 - Hello アルゴリズム</title>
@@ -154,7 +156,7 @@
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
</span>
</div>
@@ -224,6 +226,12 @@
</a>
</li>
<li class="md-select__item">
<a href="/ru/chapter_dynamic_programming/unbounded_knapsack_problem/" hreflang="ru" class="md-select__link">
Русский
</a>
</li>
</ul>
</div>
</div>
@@ -371,7 +379,7 @@
<span class="md-ellipsis">
はじめに
@@ -388,7 +396,7 @@
<span class="md-nav__icon md-icon"></span>
はじめに
</label>
@@ -487,7 +495,7 @@
<span class="md-ellipsis">
0.1 &nbsp; この本について
0.1 &nbsp;について
@@ -604,7 +612,7 @@
<span class="md-ellipsis">
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
@@ -626,7 +634,7 @@
<span class="md-nav__icon md-icon"></span>
第 1 章 &nbsp; アルゴリズムとの出会い
第 1 章 &nbsp; アルゴリズムを知る
</label>
@@ -813,7 +821,7 @@
<span class="md-ellipsis">
2.1 &nbsp; アルゴリズム効率評価
2.1 &nbsp; アルゴリズム効率評価
@@ -1090,7 +1098,7 @@
<span class="md-ellipsis">
3.3 &nbsp; 数値エンコーディング *
3.3 &nbsp; 数値の符号化 *
@@ -1118,7 +1126,7 @@
<span class="md-ellipsis">
3.4 &nbsp; 文字エンコーディング *
3.4 &nbsp; 文字の符号化 *
@@ -1916,7 +1924,7 @@
<span class="md-ellipsis">
7.3 &nbsp; 木の配列表現
7.3 &nbsp; 二分木の配列表現
@@ -2135,7 +2143,7 @@
<span class="md-ellipsis">
8.2 &nbsp; ヒープ構築
8.2 &nbsp; ヒープ構築操作
@@ -2163,7 +2171,7 @@
<span class="md-ellipsis">
8.3 &nbsp; Top-k問題
8.3 &nbsp; Top-k 問題
@@ -2521,7 +2529,7 @@
<span class="md-ellipsis">
10.2 &nbsp; 二分探索挿入点
10.2 &nbsp; 二分探索挿入点
@@ -2605,7 +2613,7 @@
<span class="md-ellipsis">
10.5 &nbsp; 探索アルゴリズム再考
10.5 &nbsp; 探索アルゴリズムの再認識
@@ -3199,7 +3207,7 @@
<span class="md-ellipsis">
12.3 &nbsp; 二分木構築問題
12.3 &nbsp;構築問題
@@ -3392,7 +3400,7 @@
<span class="md-ellipsis">
13.2 &nbsp; 順列問題
13.2 &nbsp; 順列問題
@@ -3547,7 +3555,7 @@
<span class="md-ellipsis">
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
@@ -3569,7 +3577,7 @@
<span class="md-nav__icon md-icon"></span>
第 14 章 &nbsp; 動的プログラミング
第 14 章 &nbsp; 動的計画法
</label>
@@ -3591,7 +3599,7 @@
<span class="md-ellipsis">
14.1 &nbsp; 動的プログラミング入門
14.1 &nbsp; 動的計画法の初歩
@@ -3619,7 +3627,7 @@
<span class="md-ellipsis">
14.2 &nbsp; DP問題の特性
14.2 &nbsp; DP 問題の特性
@@ -3647,7 +3655,7 @@
<span class="md-ellipsis">
14.3 &nbsp; DP問題解決アプローチ
14.3 &nbsp; DP の解法の考え方
@@ -3712,7 +3720,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -3730,7 +3738,7 @@
<span class="md-ellipsis">
14.5 &nbsp; 無制限ナップサック問題
14.5 &nbsp; 完全ナップサック問題
@@ -4149,7 +4157,7 @@
<span class="md-ellipsis">
15.4 &nbsp; 最大積切断問題
15.4 &nbsp; 最大積分割問題
@@ -4310,7 +4318,7 @@
<span class="md-ellipsis">
16.2 &nbsp; 一緒に創作に参加
16.2 &nbsp; 一緒に創作に参加する
@@ -5541,11 +5549,17 @@ aria-label="フッター"
<!-- Comment system -->
<h5 align="center" id="__comments"></h5>
<!-- Check-in button above comments -->
<h5 align="center" id="__comments">ご意見、ご質問、ご提案があればぜひコメントしてください</h5>
<!-- Insert generated snippet here -->
<script
<script
src="https://giscus.app/client.js"
data-repo="krahets/hello-algo"
data-repo-id="R_kgDOIXtSqw"
@@ -5554,12 +5568,10 @@ aria-label="フッター"
data-mapping="pathname"
data-strict="1"
data-reactions-enabled="1"
data-emit-metadata="0"
data-emit-metadata="1"
data-input-position="top"
data-theme="light"
data-lang="
"
data-lang="ja"
crossorigin="anonymous"
async
>