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.
Define a Directed Acyclic Graph (DAG).
Remember the meaning of acyclic.
What is the result of topological sorting?
Think about the dependencies represented by edges.
What is a Directed Acyclic Graph?
Focus on both directed edges and cyclic properties.
True or False: In a DAG, the longest path can always be found in linear time if using the correct algorithm.
Remember the connection between sorting and pathfinding.
Consider a DAG representing a project with 10 tasks, where each task has dependencies. Construct the graph and calculate the longest path.
Focus on representing dependencies well.
Modify the previous DAG by adding a new task with dependencies, then recalculate the longest path.
Ensure the new task is correctly added to the workflow.
4 more questions in this section. Enroll free to practise them all.
Enroll free