Glossary term
What is connected component? Meaning for developers
The biggest possible group of vertices that can all reach each other.
Learn it properly · DSALesson 49: What a Graph IsVertices, edges and the adjacency list (each vertex's list of neighbours).