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 in-degree.
Think about how many edges direct towards that vertex.
What is a DAG?
What does it mean for a graph to have no cycles?
What does an in-degree represent in a graph?
Think about which direction the edges point.
Topological sorting can be performed on which type of graph?
What characteristics must the graph have?
Construct a DAG with at least 6 vertices and demonstrate the process of topological sorting.
Think about how to start with nodes that don't depend on others.
Analyze a given set of courses with prerequisites and construct a DAG. Determine if a topological sort is possible.
Check if any courses lead back to themselves.
6 more questions in this section. Enroll free to practise them all.
Enroll free