Question: (8p) A directed graph G (VE) is called an directed acyclic graph (DAG) if G does not contain any cycle. Here, a cycle of a

(8p) A directed graph G (VE) is called an directed acyclic graph (DAG) if G does not contain any cycle. Here, a cycle of a directed graph is a sequence of directed edges (V1. V2). (V2. V3). .(v . v) where vi e'l Design a polynomial time algorithm that checks whether given directed graph G is a DAG or not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
