A parallel randomized algorithm to find number of connected components in a graph