Update data_structures/dsu_union_rank.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Aayush Vyas
2021-10-08 12:13:55 +05:30
committed by GitHub
parent 8fc814a57f
commit 5c24d9a9aa

View File

@@ -155,7 +155,7 @@ static void test1() {
* @returns void
*/
static void test2() {
/* checks the parents in the resultant structures */
// checks the parents in the resultant structures
uint64_t n = 10; ///< number of elements
dsu d(n + 1); ///< object of class disjoint sets
d.unionSet(2, 1); /// performs union operation on 1 and 2