Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
Define a graph in your own words.
Think about how you’d represent connections visually.
What does BFS stand for?
Remember how BFS explores levels in a graph.
What does a tree always have in relation to its vertices?
Think about the definition of a tree.
A graph is disconnected if...
Visualize paths in a city.
Given a directed graph with vertices 1-7 and edges denoting connections between them, list the edges that could represent forward, backward, or cross edges if shown in a DFS traversal.
Remember the definitions of each edge type when visualizing.
Construct a scenario where a directed graph represents course prerequisites for a major. Discuss how you would ensure that the graph remains acyclic.
Think about the logical flow of courses required for degree completion.
5 more questions in this section. Enroll free to practise them all.
Enroll free