æ¨æ¥ æé·å ±éé¨åååé¡ (LCS) ã«ã¤ãã¦è§¦ãã¾ãããã¤ãã§ãªã®ã§ç·¨éè·é¢ã®ã¢ã«ã´ãªãºã ã«ã¤ãã¦ãæ´çãã¦ã¿ã¾ãã ç·¨éè·é¢ (ã¬ã¼ãã³ã·ã¥ã¿ã¤ã³è·é¢, Levenshtein Distance) ã¯äºã¤ã®æååã®é¡ä¼¼åº¦ (ç°ãªãå ·å) ãå®éåããããã®æ°å¤ã§ããæåã®æ¿å ¥/åé¤/ç½®æã§ä¸æ¹ãä»æ¹ã«å¤å½¢ããããã®æå°æé åæ°ãæ°ãããã®ãç·¨éè·é¢ã§ãã ä¾ãã° ä¼è¤ç´åã¨ä¼è¤ç´ä¹ ⦠編éè·é¢ 1 ä¼è¤ç´ã¨ä¼è¤ç´ä¹ ⦠編éè·é¢ 1 ä½è¤ç´åã¨ä¼è¤ç´ä¹ ⦠編éè·é¢ 2 ä½è¤Bä½ã¨ä¼è¤ç´ä¹ ⦠編éè·é¢ 3 ã¨ããå ·åã§ãã ç·¨éè·é¢ã¯ã¹ãã«ãã¹ãä¿®æ£ããããã°ã©ã ããè¿ä¼¼æååç §å (æ¤ç´¢å¯¾è±¡ã®ææ¸ããå ¥åæåã«ããç¨åº¦è¿ãé¨åæååãæ¢ãåºãå ¨ææ¤ç´¢) ãªã©ã§å©ç¨ããã¾ãã ç·¨éè·é¢ç®åºã¯åçè¨ç»æ³ (Dynamic Programming, DP) ã§è¨ç®ãããã¨ãã§ãããã¨ã
{{#tags}}- {{label}}
{{/tags}}