Explain the concept of graph connectivity. How can you determine if a graph is connected, and why is it relevant?
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Asks what it means for a graph to be connected, how to test it, and why the property matters in real systems. Tests graph traversal, union-find, the difference between strong and weak connectivity in directed graphs, and edge cases such as isolated vertices.