Node Reachability on a DAG

Revision en1, by nchn27, 2019-06-30 07:08:24

You are given a DAG with N nodes and Q queries asking if node b can be reached from node a. Can this problem be solved for the likes of N = 10^5 and Q = 10^5?

Also I think if we are given a general directed graph, the problem can be turned into one on a DAG if we do SCC's?

Tags scc, dag, graph, graph theory

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English nchn27 2019-06-30 07:08:24 303 Initial revision (published)