<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ThreeStones</author_name>
  <author_url>https://blog.hatena.ne.jp/ThreeStones/</author_url>
  <blog_title>ThreeStonesのアレ</blog_title>
  <blog_url>https://threestones.hateblo.jp/</blog_url>
  <categories>
    <anon>読書</anon>
  </categories>
  <description>問題概要 ２つの文字列t, sが与えられる。 これら２つの共通部分文字列の長さの最大値を求めよ。 共通部分文字列とは、互いに共有する文字列であり、連続で一致している必要は無いが、 順序は等しくなければならない。 例示 s = &quot;abcd&quot; t = &quot;becd&quot;LCS = 3 (以後LCS(Longest Common Subsequence)は、最長共通部分長を指す) 問題解法 ・動的計画法 漸化式を作る。 (1)i番目とj番目が等しいとき 文字列探索において、tのi番目とsのj番目が等しいとき、 LCS(t(i-1),s(j-1))に1をプラスすればよい。例： t = ABCDEA s = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthreestones.hateblo.jp%2Fentry%2F2014%2F06%2F29%2F235343&quot; title=&quot;動的計画法part3(最長共通部分列問題) - ThreeStonesのアレ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-06-29 23:53:43</published>
  <title>動的計画法part3(最長共通部分列問題)</title>
  <type>rich</type>
  <url>https://threestones.hateblo.jp/entry/2014/06/29/235343</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
