Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is a connected component?
Think of it as a group in a family tree.
Name the two algorithms discussed for exploring graphs.
One goes level by level, the other dives deep.
What is a connected component?
Think about how planets might be grouped based on their orbits.
True or False: A connected graph has no disconnected components.
Consider the definition of connectivity.
Given a complex undirected graph with isolated vertices and connected components, explain how you would identify and label each component.
Consider sorting your visit order by the vertex number for systematic labeling.
Write a function to determine if a given undirected graph contains cycles using DFS. What parameters would you pass?
Focus on backtracking and how visited nodes are tracked.
5 more questions in this section. Enroll free to practise them all.
Enroll free