{"published":"2011-06-27 23:48:23","url":"https://deve68.hatenadiary.org/entry/20110627/1309186103","categories":["algorithm",".groovy"],"blog_title":"\u30b3\u30fc\u30c9\u306e\u6075\u307f","title":" Huffman coding","height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/deve68/","image_url":null,"author_name":"deve68","blog_url":"https://deve68.hatenadiary.org/","description":"\u30cf\u30d5\u30de\u30f3\u7b26\u53f7\u306f\u30c7\u30fc\u30bf\u5727\u7e2e\u306e\u624b\u6cd5\u3067 \u300e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8\u30c1\u30e3\u30ec\u30f3\u30b8\u30d6\u30c3\u30af\u300f \u306b\u3088\u308b\u3068\u8caa\u6b32\u6cd5\u306b\u306a\u308b\u3089\u3057\u3044\u3002 \u51fa\u73fe\u983b\u5ea6\u304c\u9ad8\u3044\u6587\u5b57\u306b\u3088\u308a\u77ed\u3044\u7b26\u53f7\u3092\u5272\u308a\u5f53\u3066\u308b\u306e\u3067\u5143\u306e\u6587\u5b57\u5217\u3088\u308a\u5727\u7e2e\u3067\u304d\u308b\u3002 \u30a8\u30f3\u30b3\u30fc\u30c9\u306e\u624b\u9806 \u6587\u5b57\u5217\u304b\u3089\u983b\u5ea6\u8868\u3092\u4f5c\u6210\u3059\u308b \u983b\u5ea6\u8868\u304b\u3089\u30cf\u30d5\u30de\u30f3\u6728\u3092\u4f5c\u6210\u3059\u308b \u30cf\u30d5\u30de\u30f3\u6728\u304b\u3089\u30b3\u30fc\u30c9\u8868\u3092\u4f5c\u6210\u3059\u308b \u30b3\u30fc\u30c9\u8868\u3092\u4f7f\u3063\u3066\u6587\u5b57\u5217\u3092\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b \u30c7\u30b3\u30fc\u30c9\u306e\u969b\u306f\u30b3\u30fc\u30c9\u8868\u304c\u306a\u304f\u3066\u3082\u30cf\u30d5\u30de\u30f3\u6728\u3068\u9577\u3055\u304c\u5206\u304b\u3063\u3066\u3044\u308c\u3070\u5fa9\u53f7\u3067\u304d\u308b\u3002 Java \u306b\u306f bit \u5358\u4f4d\u306e\u5165\u51fa\u529b\u304c\u306a\u3044\u306e\u3067\u6587\u5b57\u5217\u307e\u307e\u51e6\u7406\u3057\u305f\u3002 // \u6587\u5b57\u5217\u304b\u3089\u983b\u5ea6\u8868\u3092\u4f5c\u6210\u3059\u308b def freq(str) { str.toList().countBy { it\u2026","version":"1.0","type":"rich","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdeve68.hatenadiary.org%2Fentry%2F20110627%2F1309186103\" title=\" Huffman coding - \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>","provider_url":"https://hatena.blog"}