Meta Interview Question

Find the connected components in a graph.