Update data_structures/dsu_path_compression.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Aayush Vyas
2021-09-04 08:26:17 +05:30
committed by GitHub
parent 0977d8322e
commit b8c37d09e1

View File

@@ -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;
}