<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>noshi91</author_name>
  <author_url>https://blog.hatena.ne.jp/noshi91/</author_url>
  <blog_title>noshi91のメモ</blog_title>
  <blog_url>https://noshi91.hatenablog.com/</blog_url>
  <categories>
    <anon>アルゴリズム</anon>
  </categories>
  <description>を長さ の文字列とする。 の部分列が何種類あるか数え上げる。 DP 定義 の部分列であって で終わるものの種類数 の部分列の種類数 (空列含む) DP 遷移 \begin{align} \text{dp} \lbrack i + 1 \rbrack \lbrack c \rbrack &amp;= \begin{cases} \text{sum} \lbrack i \rbrack &amp; \quad ( S _ i = c ) \cr \text{dp} \lbrack i \rbrack \lbrack c \rbrack &amp; \quad ( S _ i \neq c ) \end{cases} \c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoshi91.hatenablog.com%2Fentry%2F2023%2F02%2F26%2F135340&quot; title=&quot;部分列 DP メモ - noshi91のメモ&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>2023-02-26 13:53:40</published>
  <title>部分列 DP メモ</title>
  <type>rich</type>
  <url>https://noshi91.hatenablog.com/entry/2023/02/26/135340</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
