{"image_url":null,"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdeve68.hatenadiary.org%2Fentry%2F20120201%2F1328109890\" title=\" Z algorithm - \u30b3\u30fc\u30c9\u306e\u6075\u307f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","height":"190","provider_url":"https://hatena.blog","published":"2012-02-01 00:24:50","categories":["algorithm"],"width":"100%","version":"1.0","blog_url":"https://deve68.hatenadiary.org/","title":" Z algorithm","author_url":"https://blog.hatena.ne.jp/deve68/","blog_title":"\u30b3\u30fc\u30c9\u306e\u6075\u307f","description":"\u7406\u89e3\u3067\u304d\u308b\u3068\u697d\u3057\u3044\u3051\u3069\u96e3\u3057\u304f\u3066\u7406\u89e3\u3067\u304d\u306a\u3044\u3053\u3068\u3082\u591a\u3044\u3002 \u7406\u89e3\u306e\u7a2e\u985e\u3067\u5206\u985e\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002 \u6982\u8981\u3092\u7406\u89e3\u3057\u3066\u3044\u308b (API \u304c\u4f7f\u3048\u308b) \u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3057\u3066\u3044\u308b (\u5b9f\u88c5\u3067\u304d\u308b) \u69d8\u3005\u306a\u554f\u984c\u3067\u305d\u308c\u3092\u9069\u5207\u306b\u4f7f\u3048\u308b \u5927\u62b5 1 \u306f\u307e\u3042\u4f55\u3068\u304b\u306a\u308b\u3057\u3001\u305d\u308c\u3055\u3048\u5206\u304b\u3063\u3066\u3044\u308c\u3070\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u63a2\u305b\u308b\u306e\u3067 3 \u3082\u4f55\u3068\u304b\u306a\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002 \u3067\u3082 2 \u304c\u5206\u304b\u3063\u3066\u3044\u308b\u3068 3 \u306e\u78ba\u7387\u304c\u4e0a\u304c\u308b\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u306e\u3067\u4f55\u3068\u304b\u3057\u305f\u3044\u3002 \u305d\u3046\u3084\u3063\u3066\u3082\u304c\u3044\u3066\u3044\u308b\u9593\u306b\u5225\u306e\u3053\u3068\u3092\u8abf\u3079\u3066\u3044\u305f\u308a\u3059\u308b\u3002 Boyer-Moore algorithm \u3092\u8abf\u3079\u305f\u3051\u3069 O(n) \u306e\u6e96\u5099\u51e6\u7406\u304c\u7406\u89e3\u3067\u304d\u305a\u306b Z algorithm \u306b\u8fbf\u308a\u7740\u3044\u305f\u3002 Z algor\u2026","author_name":"deve68","url":"https://deve68.hatenadiary.org/entry/20120201/1328109890"}