{"blog_url":"https://ymaru.hatenadiary.org/","height":"190","description":"\u30bd\u30fc\u30c8\u6e08\u307f\u9818\u57df\u306b\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3057\u3066\u30bd\u30fc\u30c8\u3059\u308b\u65b9\u6cd5\u3002 \u6bd4\u8f03\u56de\u6570\u306f\u6700\u60aa\u3001O(n2) \u304b\u304b\u308b\u304c\u3001\u305d\u308c\u306a\u308a\u306b\u30bd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u306f\u30d0\u30d6\u30eb\u30bd\u30fc\u30c8\u3088\u308a\u65e9\u3044\u3002 public void sort(int[] data) { for (int i=1; i<data.length; i++) { for (int j=i-1; 0<=j; j--) { if (data[j] > data[j+1]) { int tmp = data[j]; data[j] = data[j+1]; data[j+1] = tmp; } else { break; } } } }","version":"1.0","blog_title":"\u3064\u308c\u3065\u308c\u65e5\u8a18","url":"https://ymaru.hatenadiary.org/entry/20081124/p1","published":"2008-11-24 00:00:00","provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymaru.hatenadiary.org%2Fentry%2F20081124%2Fp1\" title=\" \u57fa\u672c\u633f\u5165\u6cd5\uff08Insertion Sort\uff09 - \u3064\u308c\u3065\u308c\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>","author_url":"https://blog.hatena.ne.jp/ymaru/","title":" \u57fa\u672c\u633f\u5165\u6cd5\uff08Insertion Sort\uff09","provider_name":"Hatena Blog","image_url":null,"type":"rich","author_name":"ymaru","categories":["JAVA","\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0"]}