mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
Update data_structures/dsu_union_rank.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user