Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
Define BFS.
Think about how layers are formed.
What is a connected graph?
Consider paths between every node.
What does BFS stand for?
Remember how BFS spreads out from the starting vertex.
True or False: A cycle can exist in an acyclic graph.
Think about the definition of acyclic.
Design a graph where you can illustrate all three types of edges: tree edges, back edges, and forward edges. Illustrate how they indicate cyclical paths.
Think about paths that loop back during DFS.
Using a graph with at least 4 disconnected components, explain how you would apply BFS to identify each component and the importance of articulation points.
Remember to keep track of visited nodes while marking components.
6 more questions in this section. Enroll free to practise them all.
Enroll free