* @brief Function that perfoms depth first search algorithm on graph * and calculated the number of connected components. * * @param adj adjacency list of graph. * * @return connected_components number of connected components in graph. */
Source from the content-addressed store, hash-verified