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 what a graph is.
Think about a diagram of points and connections.
What does BFS stand for?
Consider the order in which it's used to explore a graph.
What is the primary use of BFS?
Consider what happens with layers of a graph.
True or False: A cyclic graph cannot have any loops.
Think about connections that allow returning.
Create a directed graph with at least five vertices, ensuring there’s one cycle. Run DFS and document the order of visits and any cycles detected.
Remember to keep track of each vertex’s pre and post numbers.
In a given graph structure, identify critical edges that, when removed, would disconnect the graph. Provide evidence for your findings.
Consider what happens to connectivity if certain paths are eliminated.
5 more questions in this section. Enroll free to practise them all.
Enroll free