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.
Think about nodes and their connections.
What is the difference between undirected and directed graphs?
Consider the flow of connections.
What does a directed edge in a graph represent?
Remember the flow of direction!
An adjacency matrix is symmetric for which type of graph?
Think about undirected edges!
Given a weighted graph, explain how you'd modify the adjacency matrix to represent weights instead of binary connections.
Consider what information the weights convey.
Design an algorithm using BFS to find the shortest path in an unweighted graph, then explain key steps.
Think about how you would ensure all connections are checked systematically.
6 more questions in this section. Enroll free to practise them all.
Enroll free