mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
Update data_structures/dsu_path_compression.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -83,7 +83,7 @@ class dsu{
|
||||
* @returns void
|
||||
*/
|
||||
void UnionSet(uint64_t i,uint64_t j){
|
||||
//check if both belongs to same set or not
|
||||
/// check if both belongs to the same set or not
|
||||
if(isSame(i,j)){
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user