Count number of connected components more efficiently than length(connected_components(g))
#1446
This job was skipped
Loading
length(connected_components(g))
#1446