We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9447298 commit d8d80eaCopy full SHA for d8d80ea
Lab-Exercise-1/GraphAlgorithm.cpp
@@ -29,7 +29,7 @@
29
30
using namespace std;
31
32
-/// TODO: Implement your depth-first search here to traverse each program path (once for any loop) from src to dst.
+/// TODO: Implement your depth-first search here to traverse each program path from src to dst (each node appears at most once in each path).
33
/// Add each path as a string into std::set<std::string> paths.
34
/// Each path should have a format like this: "START->1->2->4->5->END", where -> indicates an edge connecting two node IDs.
35
void Graph::reachability(Node* src, Node* dst) {
0 commit comments