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.
What is the in-degree of a vertex?
Think about how many arrows point to the vertex.
What type of graph is necessary for topological sorting?
Remember the acronym DAG!
What does 'in-degree' refer to in a directed graph?
Think about the arrows pointing towards the vertex.
True or False: A graph must be acyclic to perform a topological sort.
Consider the definition of a DAG.
Given a DAG with vertices A, B, C, and edges A->B, A->C, B->C, what is a possible topological order?
Focus on the dependencies before drawing the order.
If a vertex D has an in-degree of 2 and is eliminated, how would that affect the graph?
Think about how dependencies work.
5 more questions in this section. Enroll free to practise them all.
Enroll free