From d70f903f30ad5a093e514f5231dec7d36abee184 Mon Sep 17 00:00:00 2001 From: Aayush Vyas <70998175+AayushVyasKIIT@users.noreply.github.com> Date: Wed, 1 Sep 2021 07:15:07 +0530 Subject: [PATCH] Update data_structures/dsu_path_compression.cpp Co-authored-by: David Leal --- data_structures/dsu_path_compression.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_structures/dsu_path_compression.cpp b/data_structures/dsu_path_compression.cpp index ca8793674..57e56b1fb 100644 --- a/data_structures/dsu_path_compression.cpp +++ b/data_structures/dsu_path_compression.cpp @@ -114,8 +114,8 @@ class dsu{ * same set or not * @param i element of some set * @param j element of some set - * @returns `true` if element i and j are in same set - * @returns `false` if element i and j are not in same set + * @returns `true` if element `i` and `j` ARE in the same set + * @returns `false` if element `i` and `j` are NOT in same set */ bool isSame(int i,int j){ if(findSet(i) == findSet(j)){