<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku/</author_url>
  <blog_title>shikaku's blog</blog_title>
  <blog_url>https://blog.systemjp.net/</blog_url>
  <categories>
    <anon>CPP</anon>
  </categories>
  <description>「単方向linked listの循環参照判定をO(n)で行なう」より // labelingあり bool isCyclic(list*p){ set s; while(p!=null){ if (p in s) return true; s.insert(p); p = p-&gt;next; } return false; } // urao first // ループの循環長をと想定しながら、nを2倍していく方法 bool isCyclic(list*p){ int n=1,m=n; list*q=null; while(p!=null) { if(p==q) return true; if(-…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F20051122%2Fp1&quot; title=&quot;リンクリストのサイクルチェック - shikaku&amp;#39;s blog&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>2005-11-22 00:00:00</published>
  <title>リンクリストのサイクルチェック</title>
  <type>rich</type>
  <url>https://blog.systemjp.net/entry/20051122/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
