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 are the two main components of a graph?
Think about what makes up a graph.
What is a directed graph?
Consider if the connections have a direction or not.
What does a directed graph signify?
Think about the meaning of direction in a graph.
An adjacency list is more efficient for which type of graph?
Consider how many edges exist compared to the number of vertices.
Design a graph to represent a public transportation system. Describe the vertices, edges, and whether they are directed or undirected.
Think about how real transport systems connect locations.
Explain how you would use BFS to solve a problem in a computer network. What would be the vertices and edges?
Consider what BFS does and how it explores connected nodes.
6 more questions in this section. Enroll free to practise them all.
Enroll free