Question: Which traversal method is typically used for finding connected components in an undirected graph?
Options:
Correct Answer: Both BFS and DFS
Solution:
Both BFS and DFS can be used to find connected components in an undirected graph by exploring all vertices reachable from a starting vertex.