Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
Define a graph in your own words.
Think about how cities connect in a network.
What is a vertex?
It represents an entity, like a city.
What does a vertex represent in a graph?
Think about what points in a graph symbolize.
In a directed graph, if there's an edge from A to B, does it imply that there's an edge from B to A?
Consider the direction of flights.
Given a directed graph of 6 cities with specified flights, determine if a direct route exists between two cities. If not, find the nearest connected cities.
Look for connections through intermediate cities.
Create a directed graph representing your local area (cities and routes) and determine the shortest path between two selected cities.
Consider using Dijkstra's algorithm for shortest paths.
4 more questions in this section. Enroll free to practise them all.
Enroll free