[Solved] Request a popular name for this or its solution algorithm December 23, 2022 by Kirat It is a variant of the “Connected components of a graph” problem. Google for it to see answers like this and this. solved Request a popular name for this or its solution algorithm