MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / isSame

Method isSame

data_structures/dsu_union_rank.cpp:108–113  ·  view source on GitHub ↗

* @brief A utility function which check whether i and j belongs to 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 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected