Find if there is a path between two vertices in a directed graph
GivenaDirectedGraphandtwoverticesinit,checkwhetherthereisapathfromthefirstgivenvertextosecond. Forexample,inthefollowinggraph,thereisapathfromvertex1to3.Asanotherexample,thereisnopathfrom3to0.Wecaneit