mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-24 13:53:35 +08:00
Documentation for f7a5aecce5
This commit is contained in:
@@ -155,7 +155,7 @@ uint32_t </td><td class="memItemRight" valign="bottom"><b>graph::disjoint_u
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p ><a href="https://en.wikipedia.org/wiki/Disjoint_union" target="_blank">Disjoint union</a> </p>
|
||||
<p >The Disjoint union is the technique to find connected component in graph efficiently.</p>
|
||||
<h3><a class="anchor" id="autotoc_md66"></a>
|
||||
<h3><a class="anchor" id="autotoc_md67"></a>
|
||||
Algorithm</h3>
|
||||
<p >In <a class="el" href="../../da/d9a/class_graph.html">Graph</a>, if you have to find out the number of connected components, there are 2 options</p><ol type="1">
|
||||
<li>Depth first search</li>
|
||||
|
||||
Reference in New Issue
Block a user