...

/

Challenge 6: Check if a Path Exists Between Two Vertices

Challenge 6: Check if a Path Exists Between Two Vertices

Given a graph and two vertices, can you write a code to check if a path exists between the two vertices?

Problem statement

You have to implement the bool checkPath(Graph g, int source, int destination) function. It takes a source and a ...