Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is a graph?
Think of it as a network of points.
Define an adjacency matrix.
Consider its structure—how it relates to rows and columns.
Which of the following represents a graph structure?
Think about what components form a graph.
True or False: An adjacency matrix is always symmetric in an undirected graph.
Remember the nature of undirected connections.
You have a directed graph representing a traffic system with vertices as intersections. Describe how you would determine the fastest route to a destination using BFS.
Think about how you can avoid going back to intersections you've already checked.
Create a real-world scenario where using a depth-first search could yield beneficial results over breadth-first search, explaining your reasoning.
Consider scenarios where delving deep is more advantageous.
6 more questions in this section. Enroll free to practise them all.
Enroll free