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

Method isSame

data_structures/dsu_path_compression.cpp:124–129  ·  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 the 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