Google interview question

Question on solving network connectivity problem using graph theoretical approaches like DFS, BFS, DSU