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.
Define a graph in your own words.
Think about how you would represent relationships.
What are the two main representations of graphs?
Consider how data structures could be used.
What do the edges in a graph represent?
Think about what links the vertices.
A connected graph has at least one path between all pairs of vertices.
Recall the definition of connectedness.
Given a scenario where three cities are interconnected with direct roads, devise a graph and demonstrate your understanding of reachability and connectedness.
Draw the graph and look for paths between nodes.
Construct a DAG to represent prerequisite courses in a degree program. What implications does the lack of cycles have in scheduling courses?
Map out your courses and their prerequisites.
5 more questions in this section. Enroll free to practise them all.
Enroll free