mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-25 14:23:03 +08:00
Documentation for 0fea073413
This commit is contained in:
@@ -162,7 +162,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_md73"></a>
|
||||
<h3><a class="anchor" id="autotoc_md74"></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