<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>noshi91</author_name>
  <author_url>https://blog.hatena.ne.jp/noshi91/</author_url>
  <blog_title>noshi91のメモ</blog_title>
  <blog_url>https://noshi91.hatenablog.com/</blog_url>
  <categories>
    <anon>データ構造</anon>
  </categories>
  <description>概要 以下の 2 種類のクエリを処理します。 と同じ集合の要素を全て列挙します。 時間計算量 を含む集合の要素数 がそれぞれ含まれる集合同士を併合します。 が同じ集合に含まれているとバグりますが検出はできません。 時間計算量 理論 同一集合内のノードを片方向循環リストで数珠つなぎにします。 連結リスト - Wikipedia 実装では配列を用いて、要素 の次の要素を で表現するとよいと思います。 は を行うだけです。 これを こう 実装 Library/union_enumerate.cpp at master · noshi91/Library · GitHub</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoshi91.hatenablog.com%2Fentry%2F2019%2F07%2F19%2F180606&quot; title=&quot;素集合の要素の列挙と併合 (単方向循環リスト) - noshi91のメモ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/noshi91/20190719/20190719175906.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-19 18:06:06</published>
  <title>素集合の要素の列挙と併合 (単方向循環リスト)</title>
  <type>rich</type>
  <url>https://noshi91.hatenablog.com/entry/2019/07/19/180606</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
