algorithms.tutorialhorizon.com
Breadth-First Search in Disconnected Graph | Algorithms
Objective: Given a disconnected graph, Write a program to do the BFS, Breadth-First Search or traversal.