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)){