<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tic40</author_name>
  <author_url>https://blog.hatena.ne.jp/tic40/</author_url>
  <blog_title>Do Something</blog_title>
  <blog_url>https://tic40.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>O記法は、コンピュータサイエンスにおいてアルゴリズムの複雑さを表すために使用される。 優秀なアルゴリズムは高速に結果を返し、かつ複雑度は低いと言える。 アルゴリズムは常に同じ結果にはならず、与えられるデータによって異なる結果になる場合がある。同じ要素を扱った場合でも、あるケースでは高速に実行され、他のケースでは低速になるということが起きる。 以下にJavaScriptでの例を示す。例中の基本時間は1msとする。 O(1) arr[arr.length - 1] 定数時間。1000 elements = 1ms. arrayの要素数にかかわらず、理論的には同じ毎回時間実行することになる。(データ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftic40.hatenablog.com%2Fentry%2F2018%2F10%2F01%2F210000&quot; title=&quot;計算量(O記法)について [30seconds of interviews] - Do Something&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-01 21:00:00</published>
  <title>計算量(O記法)について [30seconds of interviews]</title>
  <type>rich</type>
  <url>https://tic40.hatenablog.com/entry/2018/10/01/210000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
