{"image_url":null,"categories":[],"published":"2009-03-28 23:37:13","title":" \u6700\u9577\u5171\u901a\u90e8\u5206\u5217\u554f\u984c (Longest Common Subsequence)","provider_name":"Hatena Blog","description":"\u90e8\u5206\u5217 (Subsequence) \u306f\u7cfb\u5217\u306e\u3044\u304f\u3064\u304b\u306e\u8981\u7d20\u3092\u53d6\u308a\u51fa\u3057\u3066\u3067\u304d\u305f\u7cfb\u5217\u306e\u3053\u3068\u3067\u3059\u3002\u4e8c\u3064\u306e\u7cfb\u5217\u306e\u5171\u901a\u306e\u90e8\u5206\u5217\u3092\u5171\u901a\u90e8\u5206\u5217 (Common Subsecuence)\u3068\u8a00\u3044\u307e\u3059\u3002\u5171\u901a\u90e8\u5206\u5217\u306e\u3046\u3061\u3001\u3082\u3063\u3068\u3082\u9577\u3044\u3082\u306e\u3092\u6700\u9577\u5171\u901a\u90e8\u5206\u5217 (Longest Common Subsequence, LCS) \u3068\u8a00\u3044\u307e\u3059\u3002 X = <A, B, C, B, D, A, B> Y = <B, D, C, A, B, A> \u3068\u3044\u3046\u4e8c\u3064\u306e\u7cfb\u5217\u304b\u3089\u5f97\u3089\u308c\u308b LCS \u306f <B, C, B, A> \u3067\u3001\u305d\u306e\u9577\u3055\u306f 4 \u3067\u3059\u3002\u9577\u3055 2 \u306e<B, D> \u306e\u9577\u3055 3 \u306e <A, B, A> \u306a\u3069\u3082\u5171\u901a\u90e8\u5206\u5217\u3067\u3059\u304c\u3001\u6700\u9577\u3067\u2026","url":"https://naoya-2.hatenadiary.org/entry/20090328/1238251033","version":"1.0","author_url":"https://blog.hatena.ne.jp/naoya/","provider_url":"https://hatena.blog","height":"190","blog_url":"https://naoya-2.hatenadiary.org/","width":"100%","blog_title":"naoya\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc","author_name":"naoya","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaoya-2.hatenadiary.org%2Fentry%2F20090328%2F1238251033\" title=\" \u6700\u9577\u5171\u901a\u90e8\u5206\u5217\u554f\u984c (Longest Common Subsequence) - naoya\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}