{"author_url":"https://blog.hatena.ne.jp/takeda25/","height":"190","author_name":"takeda25","categories":[],"blog_title":"\u30a2\u30b9\u30da\u65e5\u8a18","blog_url":"https://takeda25.hatenablog.jp/","provider_url":"https://hatena.blog","published":"2010-06-27 18:11:23","url":"https://takeda25.hatenablog.jp/entry/20100627/1277629883","title":"\u4e00\u69d8\u4e71\u6570\u306e\u30bd\u30fc\u30c8","type":"rich","description":"\u300c\u533a\u9593[0,M)\u306a\u308bN\u500b\u306e\u4e00\u69d8\u4e71\u6570\u3092\u6607\u9806\u306b\u914d\u5217\u306b\u683c\u7d0d\u3057\u305f\u3044\uff0eM \u306f\u5341\u5206\u306b\u5927\u304d\u3044\uff0e\u9818\u57df\u8a08\u7b97\u91cfO(N)\uff0c\u6642\u9593\u8a08\u7b97\u91cfO(N)\u3067\u3053\u308c\u3092\u884c\u3046\u65b9\u6cd5\u3092\u8003\u3048\u3088\uff0e\u300d\u3068\u3044\u3046\u554f\u984c\u306b\u3064\u3044\u3066\u3001\u30d0\u30b1\u30c3\u30c8\u30bd\u30fc\u30c8\u3092\u4f7f\u3063\u3066 Python \u3067\u66f8\u3044\u3066\u307f\u305f\u3002\u6bd4\u8f03\u56de\u6570\uff08\u9069\u5f53\u3060\u304b\u3089\u9593\u9055\u3063\u3066\u308b\u304b\u3082\uff09\u306f\u30011000\u500b\u3067\u3084\u308b\u3068\u3060\u3044\u305f\u3044600\u301c700\u56de\u306b\u306a\u308b\u3002\u30d0\u30b1\u30c3\u30c8\u306e\u30bd\u30fc\u30c8\u306b\u306f\u3001Wikipedia\u306e\u633f\u5165\u30bd\u30fc\u30c8\u3092\u4f7f\u3063\u305f\u3002 import random, math M = 2 ** 32 N = 1000 def insertion_sort(target_list): steps = 0 for i in range(1, len(target_l\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakeda25.hatenablog.jp%2Fentry%2F20100627%2F1277629883\" title=\"\u4e00\u69d8\u4e71\u6570\u306e\u30bd\u30fc\u30c8 - \u30a2\u30b9\u30da\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>","image_url":null,"version":"1.0","provider_name":"Hatena Blog","width":"100%"}