{"blog_title":"tsubosaka\u306e\u65e5\u8a18","published":"2009-11-02 00:06:49","author_url":"https://blog.hatena.ne.jp/tsubosaka/","height":"190","provider_url":"https://hatena.blog","title":" [\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0] \u30d3\u30c3\u30c8\u4e26\u5217\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u3063\u305f\u7de8\u96c6\u8ddd\u96e2","author_name":"tsubosaka","width":"100%","description":"\u3075\u3068\u3001\u30d3\u30c3\u30c8\u4e26\u5217\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u3063\u305f\u7de8\u96c6\u8ddd\u96e2\u3092\u8a08\u7b97\u3059\u308b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u66f8\u304d\u305f\u304f\u306a\u3063\u305f\u306e\u3067\u66f8\u3044\u3066\u307f\u305f\u3002 \u307e\u305a\u3001\u901a\u5e38\u306e\u7de8\u96c6\u8ddd\u96e2\u3067\u3042\u308bLevenshtein Distance\u3092\u6c42\u3081\u308b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u3051\u308b int levenshteinDistance(String A, String B) { int m = A.length(); int n = B.length(); int dp[] = new int[n + 1]; int next[] = new int[n + 1]; for (int i = 0; i <= n; i++) dp[i] = i; for (int i = 1\u2026","provider_name":"Hatena Blog","type":"rich","blog_url":"https://tsubosaka.hatenadiary.org/","version":"1.0","categories":[],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/t/tsubosaka/20091103/20091103000001.jpg","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsubosaka.hatenadiary.org%2Fentry%2F20091102%2F1257174409\" title=\" [\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0] \u30d3\u30c3\u30c8\u4e26\u5217\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u3063\u305f\u7de8\u96c6\u8ddd\u96e2 - tsubosaka\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://tsubosaka.hatenadiary.org/entry/20091102/1257174409"}