読者です 読者をやめる 読者になる 読者になる

Route

Find out whether there is a routes between two nodes

Problem Given a directed graph, design an algorithm to find out whether there is a route between two nodes. How to Solve This problem can be solved by depth first search or breadth first search. While traversing the graph, we have to contr…