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 in your own words.
Think about how cities and flights relate.
What are nodes in the context of an airline network?
Consider what each point on a route map represents.
What is a graph in the context of an airline network?
Think about the structure we use to represent travel options.
True or False: A directed edge means the flight can be taken in both directions.
Remember our discussion on how flights work.
Consider a graph where the number of cities (N) and direct flights (F) quadruples. How would you approach recalculating the path from city A to city B, and what factors would you account for?
Think about how many more pathways you'll have to check and the efficiency of your chosen algorithm.
If given a choice to minimize both time and cost for a flight path between two cities, how would you structure your algorithm to find the most feasible route?
Consider the tradeoffs in your algorithm and how they impact your outputs.
5 more questions in this section. Enroll free to practise them all.
Enroll free